Solved

Set Master Volume in XP using VS2005

Posted on 2006-11-24
3
348 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
[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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

752 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