>I have a VFP6/SP3 form with an MSTreeView inside it which is populated by a (non-paramaterized) remote view of a VFP DBC table. The form works well in the development environment, but when I compiled it into an .app and ran it as an ActiveDocument inside IE4, the VFP ODBC driver spit back "access denied".
>
>I created the view programatically with the "shared" clause.
>
>Looking at the Data Environment properties on the form, I saw that the properties on the view were set Exclusive .t. - italicized so I could not change it. I think the exlcusive property is what's getting me into trouble, although I am not sure how or why.
>
More than likely that the user executing the ActiveDoc doesn't have access rights to the directory (or individual file file if an NTFS drive is being referenced) and the operating system is denying access to the the file. I'm assuming that you're using some form of UNC reference to specify the file, since the context of execution for an ActiveDoc is the client system rather than the server that delivers the ActiveDoc.