Re: Error by creating a file in a folder

Jerry Fritschle <[email protected]> Mon, 30 Oct 2017 14:42:14 -0500
Newsgroups gmane.comp.lang.realbasic.user
Message-ID <[email protected]>

> On Oct 30, 2017, at 1:43 PM, Claudius Sailer <[email protected]> wrote:
> 
> When he starts my application the application try to create a file „Voreinstellungen.xml“ in the same directory where the application is. but he gets an error message that the application can’t create the file or can’t open the file.

Just off the top of my head, I would put a file like this in a folder in SpecialFolder.ApplicationData (which maps to ~/Library/Application Support on Mac), instead of the app’s own folder.

Does your application reside in the Applications folder? 


-----
"Drama is life with the dull bits cut out."
-Alfred Hitchcock

Jerry Fritschle
[email protected]






To unsubscribe, email [email protected]