Solved

set the Microphone Recording control volume

Posted on 2004-08-06
7
1,416 Views
Last Modified: 2008-01-09
my question is in this URL, but i still haven't reach a solution, please help me

(http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_21068929.html)

I want simply to set the volume of the microphone recording control in VB.NET
0
Comment
Question by:pcnet2004
  • 4
  • 2
7 Comments
 
LVL 4

Expert Comment

by:Daniellus83
ID: 11738526
Hello,

all of the code pasted above is useable, the idea of compiling in Visual basic (the old version ;-) ) and using in VB.NET is the most simple solution...
Here is the original VB6(!!) source (I downloaded somewhere form MSDN):  http://www.danieltrommel.com/download/volume.zip

This source have I altered to be usable within a Scrollbar in VB6... and next I did make a compilation (not .exe) in VB6 for you in the form of an ActiveX Dll wich you can IMPORT in VB.NET !!!


This is the way you can do this (VERY VERY simple!!) ::

step 1) download my "home-for-you-made" file:  http://www.danieltrommel.com/download/Mic_scroller.ocx

step 2) Start your VB.NET 2003,...

step 3) Select on the TOOLBOX (left on you .net 2003 interface) the section "My User Controls..."

step 4) Press now with your Right-mouse-button on the empty gray area on the toolbox and...

step 5) choose Add/Remove Items

step 6) In the new opened window choose the SECOND tabsheet "COM Components"

step 7) Press the button "Browse" and open your downloaded file (http://www.danieltrommel.com/download/Mic_scroller.ocx)

step 8) Now you should see a new icon appear on you Toolbox > My User Control

step 9) Add this component to your Form(s) like you would do with e.g. Labels, textboxes...

Final ) Run your program to find out that your now able to control your MIC!!!


-------------

:-) Daniël


Btw.: I am a new user.. and... can I get those 50 + 500 points?  '-\ ... At least I cracked the problem....
0
 
LVL 4

Accepted Solution

by:
Daniellus83 earned 50 total points
ID: 11767722

Here I am again,

I've tried the last 2 days very very VERY VERY(!) hard to get this thing to work. I retyped most of the code in the OLD VB6 but I cannot get on my PC to my Record Volume of my Microphone (of WaveIn...).


The least I can give you is this link:

http://www.dmm.cz/en/dmm_volume_dll.htm

They provide a .dll (with Vb.NET demo!!) with wich you should be able to fully control your Mic. I have checked it out, because it's a demo, it pops a 'DEMO windows at startup.

Try it and maybe you like it...

0
 

Author Comment

by:pcnet2004
ID: 11771805
thanks very match Daniel this library solved my problem, and thanks also to ajaikumarr
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Expert Comment

by:rajender123
ID: 11889339
Hello daniel

I  also have the same problem  for which u have posted the ocx.. But theOCx which i want is the slider control  like we have in the  microphone slider in task bar volume control insated of the slider which u have given in OCX
can u just change the control and make  the control as slider control and post that again....
 and if possible can u jsut let us know how u have make that OCX


0
 
LVL 4

Expert Comment

by:Daniellus83
ID: 11889901
rajender123 ;

That possible but we make 2 things sure:

1) You want exactly the OCX I made and posted here, but now you want it in your taskbar... am I right?
2) You need to open up a new question for that were I can post the solution.
0
 

Expert Comment

by:rajender123
ID: 11903343
Hi daniel

I think u have not understood my question. I want the same contol which u have posted here. But  insted of that  slide control whcih u have used in your control, I want the  Volume Control.... Only u have yto replace the control ,,,,,,
Like  the  same volume slider bar control for microphone  when we run sndvol32.exe .

U have to just change the control ( use the similar volume control which  the windows is using  in sndvol32.exe).



Can u pls change your control and post that again as i really want to use to use that control in my program. I hope that u will get back to me soon


0
 
LVL 4

Expert Comment

by:Daniellus83
ID: 11912087
rajender123; post a new question (titled "Main Volume OCX"; no extra text needed) and paste a link here to it, and I will help you.... (changing is NOT that simple!)

...if I am right this time: You want a horizontal slider that controls the MAIN volume ....
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question