Results 1 to 3 of 3

Thread: Network Access From VB ActiveX DLL

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2002
    Location
    Texas
    Posts
    7

    Network Access From VB ActiveX DLL

    How can I access a mapped network drive from a VB ActiveX DLL?
    e.g. H: is a mapped network drive '\\DRV01\Data' ... both Dir("H:\*.bat") and Dir("\\DRV01\Data\*.bat") return errors.
    Thanks

  2. #2
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,228
    Hi,
    I have faced similar problem when trying to write to a file on the networked drive.

    Since you are trying to read the contents of the directory that should not cause a problem.

    -Abhijit
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  3. #3
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288

    Re: Network Access From VB ActiveX DLL

    Originally posted by WillL
    How can I access a mapped network drive from a VB ActiveX DLL?
    e.g. H: is a mapped network drive '\\DRV01\Data' ... both Dir("H:\*.bat") and Dir("\\DRV01\Data\*.bat") return errors.
    Thanks
    What's the error number you are getting?

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