March 10th, 2011, 12:38 AM
VB6 Combo Box Arrays/Info to Labels Help
First of all I'm not sure if this is in the right section, or whether someone has answered something like this already, but i've looked almost everywhere and am not sure how to do this.
Basically what i have is a combo box with a list of names and 3 labels on my form. The labels are for 'firstname', 'lastname' and 'age'
The combo box has names in it e.g.
I would like certain values/info to show up in the 3 labels when a name is chosen
e.g. when Jake S is chosen:
(Combo1): Jake S (label1):Jake (label2):Smith (label3):17
when Peter J is chosen:
(Combo1): Peter J (label1):Peter (label2):John (label3):16 etc
Anyone able to help with sample code of what i need to do this? Do i need a comma delimited file or something? Help Please
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!