TheMillionDollarMan
Programmer
Hi.
I am a C++, VB coding cowboy. Yeehaa.
I use the CMapStringToString class in C to read in a text file of values. The text file looks something like:
LookupValue1, ReturnValue1
LookupValue2, ReturnValue2
US, United States
JP, Japan
etc...
Once its read in I can use it later to look up codes etc. Eg If I have Country Code = US and I want United States Of America I pass in "US" to my map object and that returns me the full name.
Does VB have a hash map like this?
I want to avoid another trip to the database just to look up the country name.
I know Java and C++ do...
Thanks
Dave