By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,417 Members | 1,088 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,417 IT Pros & Developers. It's quick & easy.

Create a Share

P: n/a
I have an existing folder. I want to share it so that other user can access
this folder. How can I create it from VB.NET

Thanks,
Richard
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
http://www.codeproject.com/csharp/ne...asp#xx652588xx

Look at the bottom of the page for creating shares in c#, which is easily
convertable to vb.net

Christopher
"Richard" <kg@nospam.com> wrote in message
news:u9**************@TK2MSFTNGP12.phx.gbl...
I have an existing folder. I want to share it so that other user can access
this folder. How can I create it from VB.NET

Thanks,
Richard

Nov 21 '05 #2

P: n/a
"Richard" <kg@nospam.com> schrieb:
I have an existing folder. I want to share it so that other user can access
this folder. How can I create it from VB.NET


P/invoke on 'NetShareAdd':

<URL:http://msdn.microsoft.com/library/en-us/netmgmt/netmgmt/netshareadd.asp>
<URL:http://www.codeproject.com/dotnet/pinvokeaddshare.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.