if i got text file like this
whatever......,$300
same here..., 300
i tried this the code
Do Until EOF(1)
LineOfProduct = LineInput(1)
AllProducts = AllProducts & LineOfProduct & vbCrLf
Loop
cobProduct.Items.Add(AllProducts)
basically ,it keeps putting them in one gaint line in the combo box
please help!
Comments
:
: whatever......,$300
: same here..., 300
:
: i tried this the code
: Do Until EOF(1)
: LineOfProduct = LineInput(1)
: AllProducts = AllProducts & LineOfProduct & vbCrLf
: Loop
: cobProduct.Items.Add(AllProducts)
:
: basically ,it keeps putting them in one gaint line in the combo box
:
: please help!
:
Move the cobProduct.Items.Add(AllProducts) inside the loop.
-Fallen
so i have line 1 up to line 21 like this:
tomato, potato,...line 1
.
:
:
tomato,potato...line 21
and also i included a text box with same fuctions of comboBox to display the text file and it worked
so it must be a properity thing to get the combo box working, but i can't seem to find it!!
also, how do u get to sparate a string into 2 and display each in a list box