How can i playing wav file on my application?
Im using vb.net 2005.

Thank you very much...

Recommended Answers

All 4 Replies

Try This code :

Dim path as String
path = "D:\Test\Music.wav"
My.Computer.Audio.Play(path)
commented: how about mp3 file? +1

Yes...
You help me again friend..
Thank you very much.

Regards
Eko

You're Welcome :)

Playing it thru resource file is i think better =D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.