B
bole2cant
When I add a Button to my NotifyIcon program I get the following:
An unhandled exception of type 'System.NullReferenceException' occurred in
unknown module.
Additional information: Object reference not set to an instance of an object.
I suspect this is a common novice error but I haven't any idea what I need to
do to get this to work. "Help" seems to be geared toward people who have been
coding for a couple of years!
The code I have added is:
Public Class Form1
<snip of all code down to last Sub>
Private Sub btnClose_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)
Me.Close()
End Sub
End Class
Any suggestions?
An unhandled exception of type 'System.NullReferenceException' occurred in
unknown module.
Additional information: Object reference not set to an instance of an object.
I suspect this is a common novice error but I haven't any idea what I need to
do to get this to work. "Help" seems to be geared toward people who have been
coding for a couple of years!
The code I have added is:
Public Class Form1
<snip of all code down to last Sub>
Private Sub btnClose_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)
Me.Close()
End Sub
End Class
Any suggestions?