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

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
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.