C crystaluz Well-known member Joined Feb 17, 2009 Messages 55 Programming Experience Beginner Apr 19, 2009 #1 How to play an audio file automatically when form loads? Please help me..
G ggunter Well-known member Joined Apr 23, 2008 Messages 137 Programming Experience Beginner Apr 19, 2009 #2 I've never tried a wav file before but you might try looking into the "Process" object. [Process.Start("<path to file>") Upvote 0 Downvote
I've never tried a wav file before but you might try looking into the "Process" object. [Process.Start("<path to file>")
C crystaluz Well-known member Joined Feb 17, 2009 Messages 55 Programming Experience Beginner Apr 19, 2009 #3 ggunter said: I've never tried a wav file before but you might try looking into the "Process" object. [Process.Start("<path to file>") Click to expand... Tried just now but it came with Winamp Player.. I want the sound as background music for the form (embedded). Upvote 0 Downvote
ggunter said: I've never tried a wav file before but you might try looking into the "Process" object. [Process.Start("<path to file>") Click to expand... Tried just now but it came with Winamp Player.. I want the sound as background music for the form (embedded).
G ggunter Well-known member Joined Apr 23, 2008 Messages 137 Programming Experience Beginner Apr 19, 2009 #4 Try the SoundPlayer class. Upvote 0 Downvote
S Spiralz New member Joined Nov 21, 2008 Messages 1 Programming Experience Beginner Apr 19, 2009 #5 My.Computer.Audio.Play(FilePath) Upvote 0 Downvote
C crystaluz Well-known member Joined Feb 17, 2009 Messages 55 Programming Experience Beginner Apr 19, 2009 #6 Spiralz said: My.Computer.Audio.Play(FilePath) Click to expand... I am using .NET Framework 1.1. VB.Net 2003 did not support that class.. Upvote 0 Downvote
Spiralz said: My.Computer.Audio.Play(FilePath) Click to expand... I am using .NET Framework 1.1. VB.Net 2003 did not support that class..