-
paintpicture problem
Code:
'UPGRADE_ISSUE: PictureBox method picInner.PaintPicture was not upgraded. Click for more: 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="vbup2064"'
picInner.PaintPicture(picLoad.Image, 0, VB6.PixelsToTwipsY(.ClientRectangle.Height) - VB6.PixelsToTwipsY(picLoad.ClientRectangle.Height))
The code above is from a file i did in vb6 and converted it to .net, according to them painpicture is not supported in vb.net can someone please tell me what i need to do to get by that?
thank you
-
Look up GDI+:
in your forms OnPaint event:
PHP Code:
Graphics g = e.Graphics ;
Image Bitmap1 = new Bitmap("BunnyRabbit.bmp") ;
g.DrawImage(Bitmap1, 10, 10, 100, 100) ;
-hope that helps
-
1 Attachment(s)
zip attatched
hello, i have attatched the peoject file, if someone can please take a look at it for me and help me out it would be greatly appericated. you can e-mail me [email protected] w/ the solution, or just put a post or something.
thank you.