I would like to inform you about the problem that I am having with the Try It Outs for Chapter 14: Programming Custom Graphics. I have followed the steps in the examples word for word. But when I run the programme, I get a null reference exception. When I step through the code, the exception is thrown when the programme tries to implement the InitializeComponent( ) method of the PaintCanvas class. I have been stuck with this problem all week. I am a newbie in programming with VB
.NET. I do not even know how to go about solving the problem.
It will be nice if you could look at the Try It Outs between page 537 and page 545 and advise me on the way to solve the problem.