-
Ok here's my question,
I'm using an ini file for this application I'm writing, in the code do I have to point to the specific directory where the ini file resides or is there a way to tell it that the ini file is in the same directory as the final exe file...Does that make any sense or have I just made everyone as confused as me???
Any help would be appreciated
Cheers
-
Here is how to determine if the ini file is in the same directory as the final exe.
Code:
If Dir(App.Path & "\inifile.ini") <> "" Then
Msgbox "Ini file is in App's directory!"
Else
Msgbox "INI File not found!", vbCritical
End If
-
You can specify a file path, if not it will open the file only if it is within the same directory as the program.
-
Thanks very much