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? ![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)