LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to open sounds and audio properties using Labview function

Solved!
Go to solution

Hi All,

 

How to open the sounds and audio properties of the control panel using the Labview system exe vi.

 

Is there any dll also to open this property.

 

If there is dll which is that and how to program the dll to serve my purpose.

0 Kudos
Message 1 of 5
(3,166 Views)

Have you looked at the "Graphics and Sounds" section within the Functions Palette (Block Diagram)? There are VI's that already exist for this.

 

R

 

Message Edited by JoeLabView on 09-04-2008 07:44 AM
Message 2 of 5
(3,156 Views)

What exactly are you trying to accomplish with this control panel applet? If you just want to open the applet you can just do this:

 

Message Edited by smercurio_fc on 09-04-2008 04:50 PM
Message 3 of 5
(3,144 Views)
Why the command prompt opens up in the background, can any one pls tell me the method where in which command prompt doesn't open and only sounds and audio devices window gets opened.
0 Kudos
Message 4 of 5
(3,072 Views)
Solution
Accepted by topic author cancancanopen

Wow, you've followed up after quite a bit... Smiley Wink

 

The reason the command window opens is because to open the control panel you need to run it within the context of a shell, and that's what's done with the "cmd /c mmsys.cpl". To open the applet without using cmd you need to use RunDll32.exe, like this:

 

 

Message Edited by smercurio_fc on 01-07-2009 09:00 AM
Message 5 of 5
(3,062 Views)