Re: Map network drive for user using VB/ASP.NET




"Brian Nicholson" <BrianNicholson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:2906FEFC-3E9A-4BAB-B0FA-9C3E339E516E@xxxxxxxxxxxxxxxx
Hello,

I'm trying to create an admin page that can run miscellaneous scripts for
our IT department. Currently, I'm trying to create a script that can map a
network drive for a user (e.g. a form where I can input \\path\folder, drive
letter, and domain\user). Is this possible? If so, can someone point me in
the right direction?


As someone else said, you might not find a VB example, and as a good .Net programmer, you need to know C# and VB. It's not that hard to translate. There is no reason that you can't use the class for an ASP.Net solution.

There is also no reason you couldn't just take the class talked about as is, compile as a C# dll, and set reference to the DLL and use it in your VB project.

http://www.codeproject.com/KB/system/mapnetdrive.aspx

.