1 Replies - 1049 Views - Last Post: 24 May 2012 - 11:33 PM Rate Topic: -----

#1 glennposadas  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 23-May 12

Question: how to play a sound clip in a form with mute button

Posted 24 May 2012 - 08:36 PM

hi sires. I wonder how to put a sound clip in my vb.net form.
I am using vb 2008.
When a user starts my program, I want the sound to be played automatically and with a mute button.
can you please help me?
I tried searching about this matter, but I just couldn't seem find any answer. :)
-glenn

Is This A Good Question/Topic? 0
  • +

Replies To: Question: how to play a sound clip in a form with mute button

#2 glennposadas  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 23-May 12

Re: Question: how to play a sound clip in a form with mute button

Posted 24 May 2012 - 11:33 PM

up!
Nevermind. :P
I found this code: My.Computer.Audio.Play("C:\hpwav.wav", AudioPlayMode.Background)

that merely plays a wav sound not mp3. :)
thanks
by the way, I have another problem, and I think I will start another topic. :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1