Creating a graphcs object
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
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

sjstover4 reputationPosted Oct 29, 2004, 1:21 PM EDT