create network share in vb.net code

G

Guest

Hi,

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

Thanks in advance.
 
M

Mr Newbie

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
 
P

Peter Huang [MSFT]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top