Hi there! I am working on an attendance prog for students, and I am working on giving them the ability to choose a cartoon avatar. Basically they go to a form, and there are many options, then click on one, then an enlarged version is loaded into a picturebox called NewAvatar.
This is where the if then statement comes in.
When the user clicks on the finish button, I would like to pop up a message.
For ex: if the NewAvatar picturebox had a picture loaded with a specific filename, then "msgbox "Your new avatar is an ant!
Like...
If NewAvatar.Picture = LoadPicture(App.Path & "\ResourceFiles\Avatars\BigAvatars\BigAntAvatar.bmp") Then
MsgBox "you picked ant"
End If
However, I am not wanting to load a pic (the student already did that when they clicked on the avatar they wanted to start with), I would like to just check to see what pic was loaded into the NewAvatar picturebox, but I am stuck!
Your help is always appreciated! :):)
I suppose I could add a textbox, and when the user clicks on their avatar, the filename goes into the textbox, and the if then statement checks that, but how would I copy just the filename into the texbox? Thanks.
This is where the if then statement comes in.
When the user clicks on the finish button, I would like to pop up a message.
For ex: if the NewAvatar picturebox had a picture loaded with a specific filename, then "msgbox "Your new avatar is an ant!
Like...
If NewAvatar.Picture = LoadPicture(App.Path & "\ResourceFiles\Avatars\BigAvatars\BigAntAvatar.bmp") Then
MsgBox "you picked ant"
End If
However, I am not wanting to load a pic (the student already did that when they clicked on the avatar they wanted to start with), I would like to just check to see what pic was loaded into the NewAvatar picturebox, but I am stuck!
Your help is always appreciated! :):)
I suppose I could add a textbox, and when the user clicks on their avatar, the filename goes into the textbox, and the if then statement checks that, but how would I copy just the filename into the texbox? Thanks.