I am populating a VB6 combo box from a UDT that contains a uniqueId
(integer) and a name (string).
I want to display only the string part (i.e the name) in the combo box).
However, when the user selects an item, I want to be able to get the
uniqueId associated with the selectes string - I've done this in the
past (so I know it can be done), but I've forgotten how to do it (Google
searches are coming up with anything remotefully useful) - anyone knows
how to do this?
Second question - can I do the same thing with a tree control ? - i.e. I
want to populate a tree structure in such a way that each node has a
uniqueId and a string (of course its only the string I want to display
in the tree). yet, when a user clicks on the tree, I want to be able to
get the associated userId - any ideas on how I may do this?
Archived from group: microsoft>public>vb>enterprise