creating a graphcs object

Aug 17 2004 7:13 PM
what can be wrong with this code #### dim mybmp as bitmap = new bitmap(1,1) dim mygraphic as graphics = graphics.fromimage(mybmp) mygraphic.(no list) #### in the last line the word 'mygraphic' is underscored by vb .net and no list occurs after typing the dot...if you hold the mouse over the word vb shows the tip "mygraphic has not been declared'. I got this code from a how-to book....what can be wrong with it

Answers (1)