Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programatically create and delete shares
Message
From
19/10/1998 20:19:23
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00148329
Message ID:
00148339
Views:
24
Use NetShareAdd() to create a share and NetShareDel() to... Both are Win32 API functions.

Do a search for NetShare.c in the MSDN. It's a C program that shows how to use NetShareAdd(). NetShareDel() is very simple, I don't think you need an example.

Vlad

>I need to programatically create and delete shares. I have been putzing with some API's but none have really been doing a clean job. If anyone could help me out I would SO appreciate it.
>
>This could really be in VC, VB, VFP or whatever, as it will be a standalone. If anyone could point me at some good sample code I would be forever indebted. :)
>
>
>(The Guy With The Bullseye On His Back)
Previous
Reply
Map
View

Click here to load this message in the networking platform