Results 1 to 2 of 2

Thread: What wrong with this ?

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Posts
    7

    What wrong with this ?

    Dim ib As New Bitmap("C:\picture1.jpg")
    Dim g As Graphics = Me.CreateGraphics

    g.DrawImage(ib, 1, 1)


    Whats wrong with this ? It doen't display the image.

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    This should go in the VB.NET forum. Alternatively, if you're typing this in a pre-NET compiler (6, 5, etc.) that's why; it's .NET code.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

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