>Do anyone Know how to share a folder or drive by VFP/API ?
>
>I am Appreciate with any advise
>
There are API calls available to create shares on a network; the calls change according to what sort of system is having the share created. A third party library like NetLib is probably the easiest way to add the necessary functionaily. The Win32 API NetShareAdd() and NetShareSetInfo() calls will be most useful for the NT/Win9x environment on NT server and peer stations, but the API calls require some low-level programming to manipulate some of the structures needed to create the share, especially in the case of shares on NT systems; I'd recommend writing a wrapper .DLL in C to handle the task.
Microsft's ADSI automation objects can be used to programmatically create shares and assing permissions; you can download ADSI information from Microsft's Web page. You'll need to get the appropriate server and client components for the environment that you want to support.
>Tony