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

create network share in vb.net code

P: n/a
Hi,

how can I create a network share for a folder on the local computer in
vb.net code?

Thanks in advance.

--
Best regards

Henry
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
The only way I have found so far was to use the Diagnostics.Process.Start
and run the command.Im sure there is a better way, and I know for sure you
can do it using the Win32 API.

net use driveLetter: \\servername


"Henry" <he********@nospam.nospam> wrote in message
news:4A**********************************@microsof t.com...
Hi,

how can I create a network share for a folder on the local computer in
vb.net code?

Thanks in advance.

--
Best regards

Henry

Nov 21 '05 #2

P: n/a
"Henry" <he********@nospam.nospam> schrieb:
how can I create a network share for a folder on the local computer in
vb.net code?


<URL:http://groups.google.to/group/microsoft.public.de.german.entwickler.dotnet.vb/msg/837be1976ef1d812>

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

Nov 21 '05 #3

P: n/a
Hi Henry,

Did the responses help you?
If you still have any concern, please help to post here.
Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.