T
Timothy Taylor
Hello,
When i run these two lines of code i get an error saying "An unhandled
exception of type 'System.NullReferenceException' occurred in Object
Test.exe Additional information: Object reference not set to an instance of
an object."
This is the two lines of code that it runs:
Dim mygraphics As Graphics
mygraphics.DrawLine(New Pen(Color.Black), 1, 2, 3, 4)
It has that error on the second line of course. What am i doing wrong?
Thanks,
-Tim
When i run these two lines of code i get an error saying "An unhandled
exception of type 'System.NullReferenceException' occurred in Object
Test.exe Additional information: Object reference not set to an instance of
an object."
This is the two lines of code that it runs:
Dim mygraphics As Graphics
mygraphics.DrawLine(New Pen(Color.Black), 1, 2, 3, 4)
It has that error on the second line of course. What am i doing wrong?
Thanks,
-Tim