|
-
Mar 3rd, 2005, 07:48 AM
#1
Thread Starter
Fanatic Member
Picturebox [resolve]
hey. how do i check whether a picture box is empty with an if statement?
Last edited by ryanlum; Mar 3rd, 2005 at 09:47 AM.
-
Mar 3rd, 2005, 08:20 AM
#2
Fanatic Member
-
Mar 3rd, 2005, 08:57 AM
#3
Thread Starter
Fanatic Member
Re: Picturebox
i tried that earlier on already.
i tried
if picturebox.image = nothing then
if picturebox.image = "nothing" then
both of the lines cannot be used
-
Mar 3rd, 2005, 08:59 AM
#4
Fanatic Member
Re: Picturebox
Sorry. Something like this
VB Code:
If Not PictureBox1.Image [u]Is[/u] Nothing Then
MessageBox.Show("there is")
End If
-
Mar 3rd, 2005, 09:04 AM
#5
Re: Picturebox
Ryanlum, you don't read the compiler error messages do you!!!
It really is very obvious.

VB Code:
how do i check whether a picture box is empty?
Depends what you mean by empty anyway.
I don't live here any more.
-
Mar 3rd, 2005, 09:46 AM
#6
Thread Starter
Fanatic Member
Re: Picturebox
haha. thx nebulom.
wossname.. i do read the messages.. but i am still raw to vb .net so forgive me if i sound dumb....
lack of syntax experiece
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|