You could run a COM DLL in COM+ and have it run under a specifc user account.
>I want my application to copy a file to an Archive folder. So I have to give the user that is running my application Write rights to that directory.
>
>I would rather NOT give ANY user the rights to copy a file to the archive directory. Everyone can READ from Archive, but the intent was that no user would modify, delete or write to Archive.
>
>
>Can the VFP application somehow use a different Windows User ID to copy the file to Archive??
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer