Hrmm ok well apparently I didn't add my value comparison in the right place.
The problem is arrising from centering the window on the screen, The code requests which monitor the form is displayed on and some where along the line the monitor result is null causing this error.
I'll take another stab at it and hopefully this time I get lucky.
|