Go Premium for a chance to win a PS4. Enter to Win

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

Set Master Volume in XP using VS2005

Hi All,

Another late night and plenty code to write in a hurry.

How can I set the master volume level in XP through vb.net 2005?
0
nzfire
Asked:
nzfire
1 Solution
 
manchCommented:
'Add the Media Player COM Control to ur Project and Use this Media Player COM Control for managing volume

        Dim obj As MediaPlayer.MediaPlayer
        obj = New MediaPlayer.MediaPlayer
        obj.Volume =  'anyInteger Value
0
 
newyuppieCommented:
0
 
nzfireAuthor Commented:
Thanks newyuppie....

I found that code in VB 6 and started to look at converting it and knew that someone somewhere would have already done it.

Manch, thanks for the idea. I would have done that as a last resort. Trying to keep the code as "clean" as possible.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

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