CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 1999
    Location
    Bangalore, India
    Posts
    21

    URGENT - How to read a remote directory

    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

  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: URGENT - How to read a remote directory

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured