Click to See Complete Forum and Search --> : URGENT - How to read a remote directory


Arjun M
September 30th, 1999, 11:16 PM
Hi Friend,
I am trying to read a directory on a different machine using VB and I am using Windows NT. If should be able to submit the login name and the password and then try to connect. I am not supposed to use the open dialog box and every action is without user interaction.

Thank you in advance.


Software Engineer
Bangalore

Lothar Haensler
October 1st, 1999, 01:39 AM
I'd try to connect to the network share by using the WNetGetConnection API and map the share to a local drive letter.
From that on you can read the directory as if it were on the local machine.