PC Review


Reply
Thread Tools Rate Thread

access network share

 
 
Jon the Blind
Guest
Posts: n/a
 
      6th Dec 2003
How can programmatically I access a network share, specifying credentials
different from those of the loggin-in user of the machine?

Any insights are appreciated.

Thanks.

Jon


 
Reply With Quote
 
 
 
 
Jerry Ham
Guest
Posts: n/a
 
      6th Dec 2003
You need to create a connection to the server in question. Use something
like WNetAddConnection2, which will allow you to specify which credentials
to use. This will not work if the user is already connected to that server
(on a different share).

Jerry

"Jon the Blind" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How can programmatically I access a network share, specifying credentials
> different from those of the loggin-in user of the machine?
>
> Any insights are appreciated.
>
> Thanks.
>
> Jon
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network access to an XP Pro Share Cap Kirk Windows XP Security 1 5th Jun 2006 07:45 PM
Access to network share via VPN Chris Microsoft Windows 2000 Networking 1 17th Mar 2005 03:49 PM
can't access network share in DOS =?Utf-8?B?SGVucmlr?= Microsoft Access Security 0 15th Oct 2004 07:03 PM
Access Network Share =?Utf-8?B?SEsgZ3V5?= Microsoft C# .NET 1 13th Aug 2004 03:51 PM
Microsoft Access 2002 (XP) using DSN on the network share to access MSSQL2000 Shehzad Shabbir Microsoft Access 0 24th Mar 2004 07:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:36 PM.