HI,
This code is to draw a circle in the form with one button in vb.net.
Dim g as system.drawing.graphics
g=me.creategraphics
dim p as new system.drawing.pent(system.drawing.color.Blueviolet)
g.drawellipse(p,150,100,30,60)
end sub
this is not working it is showing the error in the declaration of p any one can help me out to rectify this error