Click here to Skip to main content
14,695,505 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is it possible to embed an application(ex: sound recorder) in vb.net form where the application is inside the form and cannot be dragged?
Posted
Comments
   
Yes, in principle you can do it, but this is a really bad idea. I wonder why?
--SA
Member 8039463 5-Jun-12 1:40am
   
Hi SAKryukov,

Thanks.

I'm trying to make a program for english speaking basics where there is a sentence written and the user can test how he sounds when reading the sentence by using the recorder. Just like in http://www.talkenglish.com/LessonDetails.aspx?ALID=2009

Do you have any idea on how to do it?

1 solution

Please see my comment to the question. This is a really bad idea. Processes are isolated; they do not collaborate unless they are designed for this purpose (sockets, TCP communication, .NET remoting/WCF…). Due to Windows specifics, you can always stick one window inside another, using (P/Invoked) Windows API working with HWNDs (window handles), so what? What would you do next?

Instead, you could better use something in a single process, on a component level, something like this:
C# MP3 Sound Capturing/Recording Component[^].

[EDIT]
Also play attention on the article referenced in the article I referenced above, on the player for the recorded sound:
A low-level audio player in C#[^].

—SA
   
v2
Comments
Sandeep Mewara 5-Jun-12 11:02am
   
Comment from OP:
Hi SAKryukov,

Thanks.

I'm trying to make a program for english speaking basics where there is a sentence written and the user can test how he sounds when reading the sentence by using the recorder. Just like in http://www.talkenglish.com/LessonDetails.aspx?ALID=2009

Do you have any idea on how to do it?
Maciej Los 5-Jun-12 15:03pm
   
Good answer, my 5!
   
Thank you, Maciej.
--SA
   
Sure, but I already answered you. You should have read the article I referenced. Anyway, please see my updated answer, after [EDIT].
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900