I'm doing a project and I don't understand why my label isn't showing when I press the radio button here is my code that I have in one sub:
Private Sub radCierra_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles radCierra.Click
Dim pic1 = Me.PictureBox1.Image.Equals(My.Resources.me_final_project_brooo)
If radCierra.Checked And pic1 Then
lblAnswer.Text = "You are correct!"
End If
End Sub
1
Expert's answer
2012-05-24T09:12:07-0400
There could be some trouble with your resources - see: Me.PictureBox1.Image.Equals(My.Resources.me_final_project_brooo). Try to comment it like this:
Private Sub radCierra_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles radCierra.Click Dim pic1 = True 'Me.PictureBox1.Image.Equals(My.Resources.me_final_project_brooo)
If radCierra.Checked And pic1 Then lblAnswer.Text = "You are correct!" End If End Sub
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment