Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File access denied error on impemail.prg

Status
Not open for further replies.

violetstarlight

Programmer
Aug 7, 2002
23
US
Bare with me, because I am a VB developer, new to FoxPro. I am maintaining an app built in FoxPro. I am trying to simply open a program file in the project manager by double clicking on it. But instead of getting my code, I am getting an error message that says "File access denied" in FoxPro. Any suggestions?
 
Try before opening your project, in the command window:
SET EXCLUSIVE OFF
Mike Gagnon
 
Are you using any source control? Is the file marked read-only. If on a network, any chance someone else has it open?

Rick
 
In response to setting exlusive off, that did not work. But out of curiousity, what does set exlusive off do?

In response to source control, no we are not. And also, I am the only one working on this project, so it shouldn't be open anywhere else.
 
what does set exlusive off do?

Specifies whether Visual FoxPro opens table files for exclusive or shared use on a network.

But if you are alone on the project, there might be something else at play.


Mike Gagnon
 
The only other possibly that I can think of is a rights issue. If the files are on a network, are they marked as belonging to someone else? Do you have full access rights? You didn't indicate if they were marked read-only - any chance they were copied off a backup CD?

Rick
 
well, I don't know what the problem was. I created a new project, moved the program into the new project and was able to access the code. Thank you all for your suggestions! I will definately be back again soon with more. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top