Hello, I'm developing my CBT and have an error that I can not solve ... Below is the code:
If (imgAluno.Image <> My.Resources.user_add) Then
That is, I want the program to enter "If" only if the image that is in the PictureBox named imgAluno is not the user_add image, which is in the project resources, but with that code above I get the following error: / p>
Operator '< >' is not defined for types 'Image' and 'Bitmap'
I've tried the code below, but it did not work either ...
If (Not imgAluno.Image.Equals(My.Resources.user_add)) Then