Results 1 to 2 of 2

Thread: Problem with PictureBox.Picture = NULL???

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2004
    Posts
    22

    Problem with PictureBox.Picture = NULL???

    I don't understand why the code NULL cannot be used with picturebox.picture.

    VB Code:
    1. If (picPhoto.Picture = Null) Then
    2.             If (Errfirst = "") Then
    3.                 Errfirst = "Picture "
    4.             Else
    5.                 Errfirst = Errfirst & "& Picture "
    6.             End If
    7.         End If

    What code should I replace the NULL

  2. #2
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    Replace it with 0 (that's a zero)
    Remember, if someone's post was not helpful, you can always rate their post negatively .

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