create network share in vb.net code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Henry

    #1

    create network share in vb.net code

    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
  • Mr Newbie

    #2
    Re: create network share in vb.net code

    The only way I have found so far was to use the Diagnostics.Pro cess.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" <henryoneal@nos pam.nospam> wrote in message
    news:4A031640-1628-4835-9658-0298EB4E051E@mi crosoft.com...[color=blue]
    > 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[/color]


    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: create network share in vb.net code

      "Henry" <henryoneal@nos pam.nospam> schrieb:[color=blue]
      > how can I create a network share for a folder on the local computer in
      > vb.net code?[/color]

      <URL:http://groups.google.t o/group/microsoft.publi c.de.german.ent wickler.dotnet. vb/msg/837be1976ef1d81 2>

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

      Comment

      • Peter Huang [MSFT]

        #4
        Re: create network share in vb.net code

        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.

        Comment

        Working...