I am getting some errors when trying to access an ini file I have in my app directory. The app sits on my desktop in a folder so no admin rights should be the issue although I do get an error code of 5. I am running this on Win XP Pro SP3.
In debug mode the code runs fine but runtime it doesnt.
The code I use for accessing the file is:
#If DebugBuild Then
serialfile = GetFolderItem("").Child("tmm.ini")
#else
serialfile = GetFolderItem("tmm.ini", FolderItem.PathTypeNative)
System.DebugLog("File path for serial is " + serialfile.NativePath)
#Endif
Is this correct?
Thanks.