I need to check the image for a specific image. I know that you can check if the image file is full ...
If Not pictureBox.Image is Nothing Then Else End If
But in my case, I need to check this file for the image downloaded earlier in the process.
Here is the current code that I use to upload the image ...
PictureBox1.Image = My.Resources.TestImage1
I thought using the following code, I could check the image name, but this does not seem to work.
If PictureBox1.Image = My.Resources.TestImage1 Then 'do something Else 'do something else End if
Suggestions?
source share