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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'file access is denied' when running a vfp executable inside access

Status
Not open for further replies.

canadiankp

Programmer
Jan 29, 2003
1
US
I have a visual foxpro table (a .dbf file) that I've updated through access 2K vba via an odbc connection. After the update (recordset is close), I want to run a small vfp executable from access vba on the table that I've updated. example:

...
Shell myVFP.exe

However, I keep on getting a 'file access is denied' error. If I close the project in access, I'm able to run the vfp executable. I think the error is due to access keeping a reference to the dbf file. How can I fix this problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top