The primary reason why programs need to run as Admin on Vista (and Win 7) is if they need to write to a protected area of the hard drive. On XP, the whole hard drive is pretty much wide open, but on more recent versions of Windows, a standard user only has write access to the user folder. That means places like Program Files are readable, but not writable. If your program needs to write to the program's folder (to set preferences or something), and that program is installed in Program Files (or any other non-user folder), then it will fail unless it is run as admin. For example, if your mdb database is not in the user folder, then it will not be writable.
The standard way to deal with that is to make sure that any user preferences or anything that the user needs to be able to edit is put into the user folder. Some place like My Documents would be safe. BuddyAPI (baSysFolder) can tell you a bunch of the appropriate places.
Thanks for your help.
The application is delivered on a usb flash drive and writes the users' data back to the .mdb on the drive itself. Is there any other way to overcome this need to run as administrator?
'Run As Administrator' also throws up a problem when the user exits the program in windows 7 with a message stating 'compatability issue with adobe director projector' with two options; the top one being 'use the recomended settings' and the bottom option being 'installed correctly'.
I don't really want to run the program as administrator but in vista I have no access to the usb partition that holds the program's database.