Results 1 to 3 of 3

Thread: paintpicture problem

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2001
    Location
    Florida.
    Posts
    70

    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
    Last edited by phara0h; Mar 21st, 2002 at 10:50 AM.
    !phara0h

  2. #2
    Hyperactive Member Scott Penner's Avatar
    Join Date
    Dec 2000
    Location
    Mountain View
    Posts
    327
    Look up GDI+:

    in your forms OnPaint event:
    PHP Code:
    Graphics g e.Graphics ;
    Image Bitmap1 = new Bitmap("BunnyRabbit.bmp") ;
    g.DrawImage(Bitmap11010100100) ; 
    -hope that helps
    -scott
    he he he

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2001
    Location
    Florida.
    Posts
    70

    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.
    Attached Files Attached Files
    !phara0h

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width