Hello, I'm new to Vb.net and I have a problem with regards to my project
here's a sample code
Private Sub MinsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MinsToolStripMenuItem.Click
Dim b As Boolean
MsgBox(" pop up will return on " & Now.AddMinutes(5))
Dim a = Now.AddMinutes(5)
Try
b = System.Convert.ToBoolean(a)
Catch exception As System.InvalidCastException
If a = True Then
PopupNotifier1.Popup()
End If
End Try
End Sub
what i want is that when i click the ToolStripMenuItem, it will wait for five minutes and then popnotifier1 will popup...
any help will be appreciated...