Mapping a network drive and hide the connection to usrs

K

Kenny Nelson

I am currently working on a small application, created in VB5, that requires
me to map to a network drive on a Win 2003 server when a user launches the
application and disconect from the drive when the application is closed down.
This is fairly straight forward to do, but here is the twist. The mapped
drive that is created by the application should not be avaliable to the user
within My Computer or Windows Explorer.

Can this be done and how simple is it to do if it can be done?

I have been looking around for the past couple of days trying to find some
way of doing this but I have had no luck.

Any help is appreciated. Thanks.

Kenny
 
P

Pegasus \(MVP\)

Kenny Nelson said:
I am currently working on a small application, created in VB5, that
requires
me to map to a network drive on a Win 2003 server when a user launches the
application and disconect from the drive when the application is closed
down.
This is fairly straight forward to do, but here is the twist. The mapped
drive that is created by the application should not be avaliable to the
user
within My Computer or Windows Explorer.

Can this be done and how simple is it to do if it can be done?

I have been looking around for the past couple of days trying to find some
way of doing this but I have had no luck.

Any help is appreciated. Thanks.

Kenny

I don't think you can do this - it goes against the very grain of
Windows Explorer.
 
C

CurtB

I realize you said your application requires you to map a drive. But, if
that's not actually a requirement, you could try using a universal naming
convention (UNC) and avoid mapping a drive. UNC format:
\\servername\sharename\path\filename
 
K

Kenny Nelson

Thanks for the help. I will give this a shot along with what John John has
suggested.

Kenny.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top