Link to home
Start Free TrialLog in
Avatar of smurray
smurray

asked on

Easy ini

I have been looking at various was to store information in an ini file and cannot seem to get it. I hae VB5 pro and need to store information like so.
INI file name will be Myapp.ini

[Your_Name}
No1=Bob
No2=Joe

and so on. I need to read back who is located in No1. ANy help and/or code will be rewarded.

-S
Avatar of smurray
smurray

ASKER

Edited text of question
Avatar of smurray

ASKER

Edited text of question
Avatar of smurray

ASKER

Edited text of question
Ini files are no longer the preferred way of storing data.  The preferred way is with the registry.
You can store and retrieve data to the registry with SaveSetting() and GetSetting().  Look in the help file for information on the usage.
ASKER CERTIFIED SOLUTION
Avatar of Dalin
Dalin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of smurray

ASKER

Thanks, I will give it a go