Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
ToolStrip and StatusStrip
hi guys.. I'm new in VB.net.. so i'm quite confuse about the error from my book.. I have no idea which is the mistake.. I hope any of you can help to explain to me.. THX alot
here is the coding..
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ToolStripStatusLabel1.Text = "Multimedia"
ToolStripStatusLabel2.Text = Format(Now, "dd - mm - yyyy")
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
ToolStripStatusLabel2.Text = Format(Now, "hh:mm:ss")
Private Sub ToolStripButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButtton1.Clicked
Dim kotak_dialog As New OpenFileDialog
kotak_dialog.Filter = "MP3|*.mp3|Wav|*.wav|Dat|*.Dat|Wmp|*.wmp"
AxWindowsMediaPlayer1.URL = kotak_dialog.FileName