Solved

set the Microphone Recording control volume

Posted on 2004-08-06
7
1,380 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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now