Create new network drive in VB.NET

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

    Create new network drive in VB.NET

    Hi..

    In DOS I would write:

    NET USE T: \\servername\sh are /USER:username password

    But... I cannot finde any way to get the same function in VB.NET. I
    try to user SHELL(command,, true,) but at my server the t: drive do now
    work every time.

    Help.... (and thanks.....)

    Johnny, Denmark
  • Rick Rothstein

    #2
    Re: Create new network drive in VB.NET

    Almost everybody here is using VB6 or lower. While you may get a stray
    answer to VB.NET questions here, you should ask them in newsgroups devoted
    exclusively to .NET programming. Look for newsgroups with the word "dotnet"
    in their name.

    For the news.devx.com news server, try these

    vb.dotnet.discu ssion
    vb.dotnet.techn ical

    For the microsoft news server, try these newsgroups...

    microsoft.publi c.dotnet.genera l
    microsoft.publi c.dotnet.langua ges.vb

    There are some others, but these should get you started.

    Rick - MVP




    "Johnny" <jov@ofir.dk> wrote in message
    news:863ea286.0 309210934.9b3a5 0@posting.googl e.com...[color=blue]
    > Hi..
    >
    > In DOS I would write:
    >
    > NET USE T: \\servername\sh are /USER:username password
    >
    > But... I cannot finde any way to get the same function in VB.NET. I
    > try to user SHELL(command,, true,) but at my server the t: drive do now
    > work every time.
    >
    > Help.... (and thanks.....)
    >
    > Johnny, Denmark[/color]


    Comment

    Working...