You guys are awesome
Hey i want to put windows media play in a form with a web browser in it.
I have the com component from C:\windows (see picture)
so i have this code...
Expand|Select|Wrap|Line Numbers
- Public Class Form1
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- WebBrowser1.Navigate(TextBox1.Text)
- End Sub
- Private Sub Textbox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
- If e.KeyCode = Keys.Enter Then
- WebBrowser1.Navigate(TextBox1.Text)
- End If
- End Sub
- Private Sub AxWindowsMediaPlayer1_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AxWindowsMediaPlayer1.Enter
- Dim sAudio As New Microsoft.VisualBasic.Devices.Audio()
- sAudio.Play("C:\Documents and Settings\church\My Documents\My Games\Oblivion\New Folder 1\70's - pilot - oh oh its magic (happy gilmore soundtrack).wav")
- End Sub
- End Class
however, i can't get it to stop, or to seek throughout the track, or to increase or decrease volume...
plus could i get multiple tracks to line up behind it??? (like a playlist)
Thanks guys. Any help would be much obliged...
Thank You