Create Folder Share In VB.NET Without Using WMI
(Monday, December 13, 2004)
Found the following interesting discussion in the Newsgroups:
Create Folder Share In VB.NET Without Using WMI by:Joey
| Hey, I need to create a share on a remote folder using VB.NET, On the remote server, there is NO WMI, hence I need to find a way to do so, Without using WMI. Thanks ahead,
--Joey
| | | Reply: by:hirf-spam-me-here@gmx.at (Herfried K. Wagner [MVP])
| | | P/invoke on 'NetShareAdd':
<URL:http://msdn.microsoft.com/library/en-us/netmgmt/netmgmt/netshareadd.asp> <URL:http://www.codeproject.com/dotnet/pinvokeaddshare.asp>
-- Herfried K. Wagner [MVP]
| | | Reply: by:Joey
| | | Thanks alot Herfried!
--Joey
|
|
0 Comments:
Post a Comment