Results 1 to 8 of 8

Thread: [RESOLVED] VB6 "Path Not Found" Error After Update

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2016
    Posts
    24

    Resolved [RESOLVED] VB6 "Path Not Found" Error After Update

    Hi,

    Just updated Windows 10 with the new "Creators Update". Directly after the update my visual basic projects fail to open when opening from a network drive "L:\".
    I get the following error when trying to open the project:

    Path not found: 'L:\Projects\MyProject.vbp'

    The L:\ drive is a mapped network location in windows explorer.

    When using the 'Open Project' command on the File menu, the L:\ drive is not visible... However you can browse for it fine using windows explorer. Interestingly, you can open the project from the "recent" tab in the "Open Project" form. However, any code which accesses the L:\ drive in the project does not work.

    I have tried basic solutions like changing the compatibility settings, running as an administrator etc... But none of these work.

    Thanks for your time and I hope you can help.

    -Hustey

  2. #2
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    5,904

    Re: VB6 "Path Not Found" Error After Update

    I recently encountered the same kind of problem you have.
    I managed to solve it with help of the following article:
    https://technet.microsoft.com/en-us/...(v=ws.10).aspx

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2016
    Posts
    24

    Re: VB6 "Path Not Found" Error After Update

    Worked perfectly! Thanks very much for your help.

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: [RESOLVED] VB6 "Path Not Found" Error After Update

    Alternatively you could map the share to a drive letter within the elevated token context. This is easily done through an elevated command prompt or by running an elevated BAT/CMD file or WSH Script.

  5. #5
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    5,904

    Re: [RESOLVED] VB6 "Path Not Found" Error After Update

    Windows 10 does not allow to map the same network location twice.
    At least that's what I encountered.

  6. #6
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: [RESOLVED] VB6 "Path Not Found" Error After Update

    Not sure why it wouldn't.

    Worked fine here:

    Name:  sshot.png
Views: 6155
Size:  10.0 KB

  7. #7
    New Member
    Join Date
    Oct 2009
    Posts
    7

    Cool Re: VB6 "Path Not Found" Error After Update

    Quote Originally Posted by Arnoutdv View Post
    I recently encountered the same kind of problem you have.
    I managed to solve it with help of the following article:
    https://technet.microsoft.com/en-us/...(v=ws.10).aspx
    Excellent! Thank you!

    Larry Carhartt

  8. #8
    New Member
    Join Date
    Oct 2009
    Posts
    7

    Re: VB6 "Path Not Found" Error After Update

    Quote Originally Posted by masterdata View Post
    Excellent! Thank you!

    Larry Carhartt


    Ok, after the code ran for a while, again I got the error message "Path not found" The following works:

    Open a command prompt as Admin

    enter "net use U: \\masterdata2\c" (leave out the quotes) where "U" is the letter I am assigning to the share and "\\masterdata2\c" is the share name. Works!!

Tags for this Thread

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