In my program if have eight if statements on one form and when you hit enter on the form it brings up another form. An example of one of my if statements are:
if radiobutton1.checked = true and radiobutton2.checked = false and radiobutton3.checked = false and radiobutton4.checked = false and radiobutton5.checked = true and radiobutton6.checked = false then
frm5.picturebox2.image.fromfile(filename)
end if
and i have seven more
on the form that has the different radio buttons they are in two groups in the first group it goes 1-4 the second group is 5,6.
then when i play the program and click on what pic i want loaded and the picturebox comes up empty.
can someone help me!!!
if you need any more info on the programm e-mail me at svelluto@sympatico.ca
Comments
Maybe i can help. Could you put up all the exact copied code in the messageboard???
THX
BattleGuard
: In my program if have eight if statements on one form and when you hit enter on the form it brings up another form. An example of one of my if statements are:
: if radiobutton1.checked = true and radiobutton2.checked = false and radiobutton3.checked = false and radiobutton4.checked = false and radiobutton5.checked = true and radiobutton6.checked = false then
: frm5.picturebox2.image.fromfile(filename)
: end if
: and i have seven more
: on the form that has the different radio buttons they are in two groups in the first group it goes 1-4 the second group is 5,6.
: then when i play the program and click on what pic i want loaded and the picturebox comes up empty.
: can someone help me!!!
: if you need any more info on the programm e-mail me at svelluto@sympatico.ca
:
private image1 as image = new Bitmap(filename)
frm5.picturebox2.image = image1