i remember in VB6 there is a command to delay something for a few seconds before moving on to the next step.
is there such a command for .net (i forgot what the command is for vb6)
an example of what i want to do below..
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
PictureBox1.Image = System.Drawing.Bitmap.FromFile("d:\warrior.bmp")
Catch ex As Exception
MsgBox("PLease insert the DVD to your DVD Drive.")
Finally
* Delay command insert here* <-- Want to put the delay here...
MsgBox("You have not inserted any DVD")
End Try
End Sub
thanz in advance..
is there such a command for .net (i forgot what the command is for vb6)
an example of what i want to do below..
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
PictureBox1.Image = System.Drawing.Bitmap.FromFile("d:\warrior.bmp")
Catch ex As Exception
MsgBox("PLease insert the DVD to your DVD Drive.")
Finally
* Delay command insert here* <-- Want to put the delay here...
MsgBox("You have not inserted any DVD")
End Try
End Sub
thanz in advance..