Results 1 to 5 of 5

Thread: Loading images

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2001
    Location
    2 miles from everywhere
    Posts
    80

    Loading images

    After making a picture in something, how can I load it into my program. I know I can make an image or picture box to do it, but I also want to know how to change the picture while the program is running.
    Do you know if you will answer no to this question?
    If we've never seen something happen, we can't know if its impossible.
    If the soles of a shoe make faces at the floor when we don't look and isn't being watched via mirror or video tape, will we ever know?
    If someone orders you to disobey all of their orders, do you obey or disobey?

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    VB Code:
    1. Picture1.Picture = LoadPicture( "C:\test.bmp" )

  3. #3
    Stiletto
    Guest
    VB Code:
    1. Picture1.Picture = LoadPicture(Pic Path)
    2. 'To reset pic:
    3. Set Picture1.Picture = Nothing

  4. #4
    New Member
    Join Date
    Jun 2002
    Location
    Halifax, NS, Canada
    Posts
    3
    To unload a picture, you can also do this:

    Picture1.Picture = LoadPicture("")

    Not that it's any easier, but I thought I'd point it out. =)
    I really wish I had something witty to write here.

  5. #5
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Since it may open a file stream to the disk, it may be slower. Still, alternatives are alternatives
    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