Saving data from limited access accounts
Posted on 2007-04-06
I have written (and sell) about 27 programs in visual basic. Some of these programs need to save data. I am finding that these programs do not work if they are run from a user account with limited access (after being installed using an account with administrative access, of course). I have tried saving the files in the application folder, which is usually something like C:\MyApp (as opposed to the Windows folder). I have tried naming the file with a txt extension (instead of dat, which seems to cause problems). I have tried everything I can think of. Can someone please tell me exactly how I can have my VB program save data while running under a user account with limited privileges? Note that the files are sometimes somewhat confidential, so they should not be put someplace too common, like the My Documents folder.