+ Reply to Thread
Results 1 to 1 of 1

ChDirNet and SetCurrentDirectoryA(szPath) do not change drive path

  1. #1
    Registered User
    Join Date
    12-19-2004
    Location
    Adelaide
    Posts
    8

    ChDirNet and SetCurrentDirectoryA(szPath) do not change drive path

    I am trying to get a hyperlink dialog box to point to a specific subdirectory - the LookIn: text on the dialog box is always the same as the folder I am working in.

    This folder is on a network server and contains the spreadsheet.xlsm file as well as all the CAD drawing files that are hyperlinked to (if that makes sense).
    I have a sub-directory in this folder which has PDF files (copies of the CAD files) and when I try to link a hyperlink to these files, the dialog box always points to the original folder.

    I have tried the Ron de Bruin's redirect as I am effectively doing a ChDir or ChDrive to a network server:

    Please Login or Register  to view this content.
    The attachment shows the Hyperlink Dialog box pointing to the Drawings folder not the PDF Drawings folder.

    But this code does not change the Lookin path.
    I have checked that the SetCurrentDirectoryA(szPath) does take the right value.
    Any Ideas? Thanks
    Attached Images Attached Images

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1