SitePoint Sponsor |
|
User Tag List
Results 1 to 1 of 1
Thread: Working with INI files in VB6
-
Jul 10, 2003, 12:42 #1
- Join Date
- Jul 2003
- Location
- Huntsville, Alabama
- Posts
- 3
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Working with INI files in VB6
I am currently having a problem accessing INI files when using VB6. I found some "example code" on the Microsoft support web-site, but it does not seem to work. The error message that I get is "Error # 53 was generated by Project1. File not found: kernel". However, when I run the "Error Lookup" utility program, error # 53 comes back as "The network path was not found." The INI file is C:\net.ini, so there is no network path involved. And of course, I have put debug statements in my code to verify that I am sending the correct INI file path and name to "GetPrivateProfileString". So, does anyone have a suggestion? - patrick.
Bookmarks