>>>If the user is in the domain, any servers they have rights to can be accessed through the their UNC. This way, you don't have to map or disconnect from a network drive.>>
>
>Thanks for the reply George, but basically what I need is to put a code in my VFP app to share a directory in a file server.
>
>When my VFP apps start, it will set the share (the directory is where the data resides) then after closing the application, it will unset the file share if not yet unset.
>
>
Note: The Share is not yet set on the file server.
Jojo,
I think that there may be a bit of misunderstanding on my part. By "set" do you mean create a share?
If so, I'm not entirely sure that it can be done without going through the management console. The Windows Active Directory Service object
might be able to do it, but then, that's a guess on my part.
George
Ubi caritas et amor, deus ibi est