A few months back I asked for help trying to figure out why my program would not let me save to my desktop (Original post below). I got a lot of suggestions, and tried a lot of things, but ultimately was unable to figure it out.

A while ago, I did another Google out of boredom, and saw a suggestion I didn't see before.  I really didn't think it would work, but figured I had nothing to lose.

I turned off my (Avast) anti-virus, and was able to write to the desktop.   I added an exception for the folder the program lives in, and it's worked fine since.  :-|

Turns out Avast (and I guess AVG, since that's what the OP had) added a "security feature" sometime last year without widely announcing it.   Since it affects some programs, and not others, it took a while to spot it, and there was no clue as to what was causing it.

Problem solved.


------------------------------------- ORIGINAL POST ---------------------------
Granted, it's a short drive, but....

This is making me nuts.  I've paraphrased and simplified the problem to the gist of it:

My program does COPY FILE (cInputFile) to (cOutputFile).  This works great. EXCEPT if the output file is on my desktop, then I get the message:
"Cannot create file c:\users\me\desktop\file.ext."

It doesn't matter that I'm an Admin user, and it doesn't matter if I also right-click and run the program as admin.

HOWEVER, if I'm in VFP and compile it with the "run after compile" option, it will compile, run, and perfectly happily copy to the desktop with no error.

Here are the rights I have on the Desktop: (You can tell I kept trying different things)
The following users are on security, and each has full rights:
everyone
System
my login
machine\users
machine\administrators
I also have the owner as my login in Advance/change owner

Thankfully, the program works fine on my clients computer, but this is making me nuts.  I'd appreciate a gentle tap with a clue-by-four.  Thank you!





--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to