|
-
October 23rd, 2001, 12:11 PM
#1
Open Shared Password Protected Files and Folders
First off, I'd like to congratulate all of the responders on the forum. You have made this site an invaluable tool for finding answers to questions. On behalf of myself and everyone else, THANKS!
Now for my hopefully simple question. Can someone give me an example of opening a password protected file and/or folder on a network computer using Visual Basic? I can see no way to pass a known password to a DirList or FilList, nor any commands to pass the password to the requesting system. How is this done? Any help would be appreciated. Thanks.
-
October 23rd, 2001, 08:54 PM
#2
Re: Open Shared Password Protected Files and Folders
I think you can use API function WNetAddConnection2 and WNetCancelConnection2 for connect and disconnect to network drive. This is work fine, i test this.
Andy Tower
-
October 24th, 2001, 09:45 AM
#3
Re: Open Shared Password Protected Files and Folders
Tower:
Thank you for the pointer. It works great using the sample I found. Now I just have to modify the sample for my application. Thanks again!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|