I must be getting daft, but I can't seem to find how to read old-fashioned ini files with VB 6.0. All I can seem to find is about reading from and writing to the registry. Can someone push me in the right direction? Mind you, I am not a programmer, just a hobbyist trying to have some harmless fun with his computer, so please don't be to harsh when you point out the bleedin' obvious.
Asked
Active
Viewed 3,743 times
2 Answers
1
See the top answer on this thread. Nope, it's no different in VB! :-)

Community
- 1
- 1

C. K. Young
- 219,335
- 46
- 382
- 435
1
Use the GetPrivateProfile* functions. Some examples of how to do this with a Declare statement are here:

1800 INFORMATION
- 131,367
- 29
- 160
- 239
-
1+1 Also Karl E Peterson's drop-in class is good http://vb.mvps.org/samples/kpIni/ – MarkJ Feb 26 '13 at 20:56