Solved

set the Microphone Recording control volume

Posted on 2004-08-06
7
1,427 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

742 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