Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Process class and DOS command
Message
De
25/02/2014 08:08:22
 
 
À
25/02/2014 08:03:47
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01595074
Message ID:
01595185
Vues:
29
>>If that works it's the simplest solution. An alternative would be to use the mpr.dll WNetAddConnection (or WNetAddConnection2).
>>There's a C# example wrapper here: http://pinvoke.net/default.aspx/mpr.WNetAddConnection2
>
>That would be interesting as well as it would be .NET code directly without having the need to execute the Process class.
>
>Do you know if that library is part of .NET or Windows?

mpr.dll is Windows (Multiple Provider Router). The link shows an example of importing and calling from C#. Should be simple to create the VB.NET version.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform