[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1492
  • Last Modified:

set the Microphone Recording control volume

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
pcnet2004
Asked:
pcnet2004
  • 4
  • 2
1 Solution
 
Daniellus83Commented:
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
 
Daniellus83Commented:

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
 
pcnet2004Author Commented:
thanks very match Daniel this library solved my problem, and thanks also to ajaikumarr
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
rajender123Commented:
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
 
Daniellus83Commented:
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
 
rajender123Commented:
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
 
Daniellus83Commented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now