AW: Writing to Win programm files dir?

Tiemo Hollmann TB toolbook at kestner.de
Fri Jun 29 10:26:06 EDT 2007


Hi Scott, ok, that's what I thought. And what do you do if the user can save
data in your app / stack? Do you separate the app without saving feature,
written to program files and other stacks with saving, writing to app data?
Tiemo

-----Ursprüngliche Nachricht-----
Von: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] Im Auftrag von Scott Kane
Gesendet: Freitag, 29. Juni 2007 16:08
An: How to use Revolution
Betreff: Re: Writing to Win programm files dir?

From: "Tiemo Hollmann TB" <toolbook at kestner.de>

> Hello, I have read (but not deep enough) that you may not or should not 
> write into files in the programm files / subdir directory on Win Vista
> because of user rights management / virtual store or something like this. 
> Is this really a bad style or even a KO, which brakes something and you 
> should
> only use the application data directory for INI files and stuff like this,

> or can I just go on, keeping everything thight together in my program 
> files
> folder?

For data storage it's out for Vista (by default).  Can be done under XP if 
the user is the admin but you can't rely on that anymore (we used to get 
away with it and shouldn't have been able to).  Vista will write your data 
out to virtual storage if UAC is turned on (default).  Best to write to My 
Documents or one of several folders under Documents and Settings.  In Rev My

Documents is handy and is suported by the SpecialFolders function.

Scott Kane 

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list