Chad
Chad

Reputation: 3008

Using ini-files with VB 6.0

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.

Upvotes: 2

Views: 4504

Answers (2)

1800 INFORMATION
1800 INFORMATION

Reputation: 135285

Use the GetPrivateProfile* functions. Some examples of how to do this with a Declare statement are here:

Upvotes: 1

C. K. Young
C. K. Young

Reputation: 223003

See the top answer on this thread. Nope, it's no different in VB! :-)

Upvotes: 1

Related Questions