My trouble comes from a lot of websites actually
One tells me to load the Microsoft Media Control
Going to Tools>Options>Controls tab but there is no such thing
Another tells me to load the MP3 with an external application by doing calling the Process.Start Class but I don't want to use more ram than necessary and I want to repeat the sound.
Here is the code I need to integrate the MP3 Control with
Now where I want the code to function is:
If WordNumber = 1 Then Play MP3.1
If WordNumber = 2 Then Play MP3.2
..ETC
Any suggestions
One tells me to load the Microsoft Media Control
Going to Tools>Options>Controls tab but there is no such thing
Another tells me to load the MP3 with an external application by doing calling the Process.Start Class but I don't want to use more ram than necessary and I want to repeat the sound.
Here is the code I need to integrate the MP3 Control with
VB.NET:
Private Function DoTheJob()
Dim StrWord As String = ""
Dim WordNumber As Integer = 0
NextWord(StrWord, WordNumber)
Label1.Text = StrWord
If WordNumber = 1 Then
PictureBox1.Image = My.Resources._1195422442280900362ArtFavor_Mom_holding_childs_hand_svg_med
End If
If WordNumber = 2 Then
PictureBox1.Image = My.Resources._1195422165776583552ArtFavor_Dad_holding_daughters_hand_svg_med
End If
If WordNumber = 3 Then
PictureBox1.Image = My.Resources._119498555124689266sedia_in_legno_architett_01_svg_med
End If
If WordNumber = 4 Then
PictureBox1.Image = My.Resources.MOS_001_2
End If
If WordNumber = 5 Then
PictureBox1.Image = My.Resources._11971013331885495170jilagan_Spoon_svg_med
End If
Return 0
End Function
Now where I want the code to function is:
If WordNumber = 1 Then Play MP3.1
If WordNumber = 2 Then Play MP3.2
..ETC
Any suggestions