I have a VB3 program which uses GetPrivateProfileString to read an INI file containing the paths to data files it uses. The compiled version, which runs with the INI file in the same directory, has no problem finding the INI file but when I run it from within VB3 in debug mode, it complains about not being able to find it. I looked up the documentation and it seems to indicate it defaults to the Windows directory, so why does it work when compiled?
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.