How to play a sound In Vb

Use this board to post your code snippets - tips and tricks
2 posts Page 1 of 1
Contributors
User avatar
shor6284
Just Registered
Just Registered
Posts: 7
Joined: Sun Feb 27, 2011 10:57 pm

How to play a sound In Vb
shor6284
  • 1. What you do is import a song into the resource list.
  • 2. Click on a form or whatever you want
  • 3. put in
    Code: Select all
    My.Computer.Audio.Play(My.Resources.SONGNAME,AudioPlayBackground
http://codeforums.freeforums.org/
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Re: How to play a sound In Vb
clanc789
Lol nice one, gonna use that for my next sound-to-be-played-in-the-background XD
Practice makes perfect!

VIP since: 6-10-2011
2 posts Page 1 of 1
Return to “Quick Snips”