Re: Map network drive for user using VB/ASP.NET
- From: "Mr. Arnold" <MR. Arnold@xxxxxxxxxx>
- Date: Mon, 30 Jun 2008 09:26:48 -0400
"Brian Nicholson" <BrianNicholson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:24D9F15B-7085-415B-A48F-8CD4B3FAB7E8@xxxxxxxxxxxxxxxx
"Mr. Arnold" wrote:Thank you for the response. I have no problems using C# code; I just asked
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
that initially because it's what I'm most familiar with. I've come across
that class before, but the problem is that it requires the password of the
user I'm mapping a network drive for. I was hoping there was some way I
could use IIS Windows Authentication or something similar to do this with an
account that has administrative rights, so I wouldn't be required to know the
user's password.
I don't see why you couldn't use a generic user-id and psw that had admin rights, but of course this application should never face the Internet.
.
- Follow-Ups:
- Re: Map network drive for user using VB/ASP.NET
- From: Brian Nicholson
- Re: Map network drive for user using VB/ASP.NET
- References:
- Re: Map network drive for user using VB/ASP.NET
- From: Mr. Arnold
- Re: Map network drive for user using VB/ASP.NET
- Prev by Date: Re: Services
- Next by Date: Re: Default company name and copyright information in Assembly Informa
- Previous by thread: Re: Map network drive for user using VB/ASP.NET
- Next by thread: Re: Map network drive for user using VB/ASP.NET
- Index(es):
Relevant Pages
|
Loading