Solved

Set Master Volume in XP using VS2005

Posted on 2006-11-24
3
344 Views
Last Modified: 2008-03-17
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
Comment
Question by:nzfire
3 Comments
 
LVL 6

Expert Comment

by:manch
ID: 18007211
'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
 
LVL 13

Accepted Solution

by:
newyuppie earned 500 total points
ID: 18007292
0
 
LVL 1

Author Comment

by:nzfire
ID: 18010464
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

895 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

13 Experts available now in Live!

Get 1:1 Help Now