[QUOTE=bflyrose]Hi I need some help I am trying to connect my radio buttons to show prices in the listbox with the name of the movie selected this is what I have so far
my problem is I don't know how to get the selected radio button to output to the listbox or the name of selected movie to also display I have tried if statements included in my with statement doesn't work I set up my radiobutton control all in one event (6 of them and they...
User Profile
Collapse
-
radio buttons and listbox
Hi I need some help I am trying to connect my radio buttons to show prices in the listbox with the name of the movie selected this is what I have so far
my problem is I don't know how to get the selected radio button to output to the listbox or the name of selected movie to also display I have tried if statements included in my with statement doesn't work I set up my radiobutton control all in one event (6 of them and they are already working...Last edited by Killer42; Mar 14 '07, 01:55 AM. Reason: Please use CODE.../CODE tags around your code. -
I had forgotton to come back and say thank you for your help I did get it to finally work right
Thanks againLeave a comment:
-
I did change the integer value to this
but still I think I am just really tired at the moment because its still not loading...Code:intRandom = CInt(Int((2 * Rnd() + 1))) For x = 0 To Toss If (intRandom < 2) Then Heads += 1 Else Tails += 1 End If intTotal += 1Leave a comment:
-
yes I see what you mean and what I mean is I am getting counts of tails and heads but by six's and the picture does not always load with the corresponding flip of the coin meaning if the text displays 6 times landing on heads the picture box is not displaying the head I am getting closer I now have percentages displayed thank you for your input...Leave a comment:
-
hi I am trying to random number of tosses and pictures of tails and heads with this code I revised it some but it still not working right
...Code:Private Sub btnToss_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnToss.Click Dim MyValue As Integer Dim x As Integer For x = 0 To Toss MyValue = CInt(Int((2 * Rnd()))) If (MyValueLeave a comment:
-
vb.net 2003 I am so lost
I am trying to create a coin toss game for class but me and programming are having a hard time getting to know one another.
my question is What is wrong with this code?
I really do alot better with networks hardware and software wish I didn't even have to do this because I am so confused
I am not done with alot of it and I have to rotate two images corresponding to picturebox and whether heads lands or tails...
No activity results to display
Show More
Leave a comment: