Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Process class and DOS command
Message
From
25/02/2014 08:08:22
 
 
To
25/02/2014 08:03:47
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01595074
Message ID:
01595185
Views:
28
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform