Results 1 to 2 of 2

Thread: Clearing an ImageBox with code.

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    Posts
    93
    I have an Image box on my form. It loads pictures from a database. When It gets to a record with no picture it leaves the last one up there or gives an error. Depending on what code I write.

    I need to set the Image1.Picture to (none). Like when you first load the form. Or just set it to "". Or clear the image. I can't find a way to clear the image.

    Thanks
    Brandon

  2. #2
    Fanatic Member ExcalibursZone's Avatar
    Join Date
    Feb 2000
    Location
    Western NY State
    Posts
    908
    Code:
    Image1.Picture = Nothing
    Hope that works for you.
    -Excalibur

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