walkm0
May 1st, 2002, 02:44 AM
I am testing out the new changes in vb.net. I'm having problems with the listbox control. I have a form with 4 textboxes, listbox, command button. I enter integers into the 4 testboxes. I then click the command button and want the values of the four textboxes, divided by themselves, to display in the listbox...Example
output
1
1
1
1
I click the command button and there is no output. I know how to use listbox1.items.add(textbox1.text) to put the original value of the textbox1 into the listbox...but i can't do anything with a variable...example
dim x as integer
x=textbox1.text /textbox1.text
listbox1.items.add(x)
you could in vb6??? could someone point me in the right direction..thanks
Thanks in Advance
output
1
1
1
1
I click the command button and there is no output. I know how to use listbox1.items.add(textbox1.text) to put the original value of the textbox1 into the listbox...but i can't do anything with a variable...example
dim x as integer
x=textbox1.text /textbox1.text
listbox1.items.add(x)
you could in vb6??? could someone point me in the right direction..thanks
Thanks in Advance