Referencing a file

Posts 16–17 of 17 · Page 2 of 2
Code:
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        My.Computer.Audio.Play(My.Resources.Kansas___Carry_On_Wayward_Son, AudioPlayMode.BackgroundLoop)
    End Sub
Quote Originally Posted by Marsicano View Post
Code:
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        My.Computer.Audio.Play(My.Resources.Kansas___Carry_On_Wayward_Son, AudioPlayMode.BackgroundLoop)
    End Sub
FAIL! that's all you get, just a fail.

Quote Originally Posted by Pixie View Post
If you want it to play when it loads, then either put it in a timer that's enabled, or put under Form1_Load
I would test this but my internet is about to go off...
If that's not what your talking about, then here:
Try using .mp4 or .wav
If I remember, I will post a tutorial on making a video converter when I get my internet back.
nah, it was just that it doesn't like to play .mp3s at all. i got it to play a wav, and i'm using switch sound converter so i'm all good. thanks anyways :P
Posts 16–17 of 17 · Page 2 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

Talk with us