2

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.

Mark Biek
  • 146,731
  • 54
  • 156
  • 201
Chad
  • 2,938
  • 3
  • 27
  • 38

2 Answers2

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