vb 2008 drawline not working in Vista
Posted on 2009-04-12
What am I missing here?
I am using Visual Basic Express 2008.
I have a working pilot logbook and flight planning application, which was written, compiled, and functions well in Windows XP on my old PC.
The application uses e.graphics.drawline, e.graphics.drawcircle, e.graphics.drawarc, e.graphics.drawellipse and e.graphics.drawrectangle to draw a simple flight plan chart.
When I compile the code and run it on my new laptop (Sony Vaio VGN-NS15G) none of the lines, arcs, circles or rectangles appear. There are no runtime errors.
The rest of the programme runs fine on the laptop. It is just the graphics functions that are ignored so I am assuming it is a result of some setting or switch that I have missed to make the graphics visible on the Vista laptop.
What am I overlooking?