Solved

Set Master Volume in XP using VS2005

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

763 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