0

Dear Sir,

How to detect picture has a picture on empty?

Suppose , I droped a picturebox control on form, there is no image loaded in it, what codes should I needed those will tell me that picturebox is empty?

Please help

2
Contributors
1
Reply
12
Views
8 Years
Discussion Span
Last Post by selvaganapathy
0

Check the Image property of PictureBox as Nothing ..
Ex:

If PictureBox1.Image Is Nothing Then
            MsgBox("No Picture")
        Else
            MsgBox("Some Picture is there")
        End If
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.