Hack Forums
[.NET] How to play a sound in VB - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] How to play a sound in VB (/showthread.php?tid=4303700)



How to play a sound in VB - Cristianantonuccio - Jun 24, 2014

How to play wav in vb 2010? in background?


* - incoming - Jun 24, 2014

Code
My.Computer.Audio.Play("C:\file.wav", AudioPlayMode.Background)



* - nathan72389 - Jun 24, 2014

it would of taken 10 seconds to google this exact question and C&P the first link.

why would you even make a thread about this? did you want to show us how stupid you are?