470,863 Members | 1,410 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,863 developers. It's quick & easy.

HELP

Hi,
I am using VB.net and I want to play a simple sound like the windows
start up song when
you push a button on a form So could you plzz help...
Note: I am only 11 yrs old so could you make it simple!

Feb 5 '06 #1
2 1884

<si************@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Hi,
I am using VB.net and I want to play a simple sound like the windows
start up song when
you push a button on a form So could you plzz help...
Note: I am only 11 yrs old so could you make it simple!


Here's a way to play sounds:

My.Computer.Audio.Play("c:\Windows\Media\chimes.wa v")

Of course you will need to locate the sound of your choice and place its
path in the quotes.

Hope this helps.


Feb 5 '06 #2
THANK YOU SO MUCH IT WORKS

Feb 6 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Tom | last post: by
6 posts views Thread by wukexin | last post: by
3 posts views Thread by Colin J. Williams | last post: by
7 posts views Thread by Corepaul | last post: by
5 posts views Thread by Steve | last post: by
8 posts views Thread by Mark | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.