473,811 Members | 2,970 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

control the volume

1 New Member
I want to control the volume.
But it's not working.

Expand|Select|Wrap|Line Numbers
  1.       <object  id="dmo" name="dmo" class="dmo" hidden="true" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="0" height="0" >
  2.           <param name="src" value="http://montaigne.univ-paris3.fr/ram//RSN/semaine1/Mus_Int_DJ_Francois.ram">
  3.           <param name="console" value="radio">
  4.           <param name="controls" value="all">
  5.           <param name="autostart" value="false">
  6.           <PARAM NAME="Volume" VALUE="100"> 
  7.           <embed 
  8.           src="http://montaigne.univ-paris3.fr/ram//RSN/semaine1/Mus_Int_DJ_Francois.ram"
  9.           width="0" height="0"
  10.           hidden="true"
  11.           autostart="false" loop="false" nojav="true"
  12.           console="radio"
  13.           controls="ControlPannel" name="dmo"></embed> 
  14.    <noembed><a href="http://"></noembed></a> 
  15.       </object>
  16.  
  17.       <div class="lecteur"> 
  18.         <div class="lecteur1">
  19.         <a href="javascript:play(); detecteTitre();"><img src="img/play.jpg"  alt="play" class="play"/></a> 
  20.         <a href="javascript:pause()"><img src="img/pause.jpg" alt="pause" class="pause"/></a> 
  21.         <a href="javascript:stop()"><img src="img/stop.jpg" alt="stop" class="stop" /></a> 
  22.         </div>
  23.         <div class="lecteur2" id="lecteur2">
  24.         <a href="javascript:avant()"><img src="img/arriere-double.jpg" alt="avant" width="16" height="15" class="avant" /></a>
  25.         <a href="javascript:avant()"><img src="img/arriere-simple.jpg" alt="avant" width="16" height="15" class="avant" /></a>          
  26.         <a href="javascript:arriere()"><img src="img/avant-simple.jpg" alt="arriere" width="16" height="15" class="arriere" /></a>
  27.         <a href="javascript:arriere()"><img src="img/avant-double.jpg" alt="arriere" width="16" height="15" class="arriere" /></a>
  28.         </div>
  29.         <div class="lecteur3">
  30.            <a href="javascript:volumePlus()"><img src="img/volume.jpg"  alt="volume" width="16" height="15" class="volume"/></a>
  31.            <a href="#" onclick="VolumeMoins();"><img src="images/commande/moins-off.gif" id="moins" name="moins" title="moins" alt="moins" onmousedown="MM_swapImage('moins','','images/commande/moins-on.gif',1);" onmouseup="MM_swapImgRestore()" style="margin-right: 5px;"></a><a href="#" onclick="VolumePlus();"><img src="volume.jpg" id="plus" name="plus" title="plus" alt="plus" onmousedown="MM_swapImage('plus','','images/commande/plus-on.gif',1);" onmouseup="MM_swapImgRestore()"></a>
  32.         </div>
What should i do?
Mar 13 '07 #1
1 3214
acoder
16,027 Recognized Expert Moderator MVP
See if this link helps. If not, post your volume-setting code.
Mar 13 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1361
by: rmorvay | last post by:
I wrote a quick app to play music and I am having difficulty connecting a slider control to the Windows Media Player control. Here is my difficulty. I need to set the sliders min and max properties and utilize its value property to manage the volume of the Windows Media Player control. I am not sure which property on the windows media control I am suppose to manipulate. I tried to use the following: mp.volume = vsVol.value in the sliders...
0
2487
by: steve | last post by:
I am writing a AP, can anyone help me how can my AP detect user mute/unmute or volume up/down from windows volume control?
0
1110
by: squeaks | last post by:
I'm coding up a program using VB.NET that records songs that users queue up. The program works pretty well, I've picked up bits and pieces from various websites on how to use mcisendstring, using WMP component, and other things. I've gotten over various hurdles by using threading (for a timeleft string) and other things I've figured out. Now, I need to do just a couple of things to have my program work really well for the user. Most...
1
10689
by: Andrea V.F. | last post by:
I need to control (Get and Set) this parameters of Windows Audio Mixer: - Master Volume Mute - Master Volume Level In addition, but not mandatory, I need to control also the PC Speaker Mute and Volume. PC Speaker control is aviable only in some Systems such as laptops, in others systems there is no control of PC speaker in Windows Mixer.
1
2629
by: Christopher A. Kelly | last post by:
I need to figure out how to control any 3rd party application by simulating mouse click and key presses. I need to take a partial window title and get the handle then be able to send the necessary input to the application, I have been trying for weeks to figure this out and can't. In trade i am posting a master volume class that i modified and added functions to. Imports System
7
7655
by: Rich Milburn [MVP] | last post by:
Ok I am not a programmer, I copied some code and very painfully got it working in VB6. I can adjust the volume with waveOutSetVolume on winmm.dll. But I could not seem to be able to figure out how to adjust the master volume. I thought maybe if I upgraded this into VS2005 VB.Net then it might be a little easier. But now I am getting PInvokeStackImbalance messages on this, and it doesn't even run. We're talking a very little program... A...
0
3546
by: techspirit | last post by:
Hello , I am looking for help in controlling the volume of a media file in a vb.net application. The code that I currently have (attached below) tries to control the master volume which finally affects all applications opened, whereas I want to control the volume only for my application alone. I have a trackbar control on my form to scroll values and increase/decrease the volume. How would I control the volume for the media file opened...
3
6962
by: Mike Carlisle | last post by:
Hi, Can someone give me some help on setting the master volume control in Vista. I've looked everywhere and there seems to be very little help on this. The only information I can find is that I should be using IAudioEndpointVolume::SetMasterVolumeLevelScalar , but no ideal how to go about this in managed code. Anyone know how to do this?
1
2510
by: sindhu | last post by:
Hello everyone. I'm here in a big problem wherein i wanna use a volume control like we get in winamp. the sliding control to control the volume. please someone suggest me a solution . Thanks in advance
0
9607
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10652
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10408
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10137
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9211
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7673
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6895
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5700
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3026
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.