[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
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
Re: VB6 "Path Not Found" Error After Update
Worked perfectly! Thanks very much for your help.
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.
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.
1 Attachment(s)
Re: [RESOLVED] VB6 "Path Not Found" Error After Update
Not sure why it wouldn't.
Worked fine here:
Attachment 149739
Re: VB6 "Path Not Found" Error After Update
Quote:
Originally Posted by
Arnoutdv
Excellent! Thank you!
Larry Carhartt
Re: VB6 "Path Not Found" Error After Update
Quote:
Originally Posted by
masterdata
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!!