Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
vb6 combo box
Name: esambdc Date: November 14, 2007 at 13:09:23 Pacific OS: win2000 CPU/Ram: p4
Comment:
i want to fill a combo box by customer name (string), customer ID (number consists of 7-10 digits) i use additem method : mycom.additem esam ,1143045 but overflow error occured related to the index of 1143045 what can i do except using dbcombo thanks
Name: Razor2.3 Date: November 14, 2007 at 18:15:14 Pacific
Reply:
Well, you could make the index smaller (under 32768)...
0
Response Number 2
Name: esambdc Date: November 18, 2007 at 14:13:10 Pacific
Reply:
I cannot do that becaues the index must refer to a customer id (long number) so ,how i can store long number in an index acceots integer only . any function can do that or alternate solution ? ?
E S A M
0
Response Number 3
Name: Razor2.3 Date: November 18, 2007 at 19:16:58 Pacific
Reply:
Well, I don't think you can create an object that inherits VB6's combo box, so you may not be able to do that.
What I would do is create a 2D array. One side holds the combo box ID, the other holds the "real" number.
Summary: Iam using VB6 & in it i have populated four items in Combo1 i.e Combo1.AddItem "Paper" Combo1.AddItem "Pen" Combo1.AddItem "Ink" Combo1.AddItem "Shopner" I want that when my form is l...
Summary: Iam new in VB6.Can any body guide me taht what is the main different between Combo box & Listx box & in which situation we use List box instead of Combobox & vice virsa. Thanks. ...
Summary: hiya guys... well i have 2 combo boxes. start_time and end_time. They both contain 26 times starting from 09:00:00 to 22:00:00. Depending on what time is chosen for the start time, i want times equal...