Recently users of our VB6 app have encountered problems when trying to read files.
It surfaced that the Dir function throws an error for non-existing shares instead of returning an empty string.
My hunch is that previously the App.Path function returned "C:\Program Files\OurApp\ourapp.exe" but now it returns "\\MyComputer\C$\Program Files\OurApp\ourapp.exe". The Dir function raises an error if \\MyComputer\ does not exist.
Has anyone an idea when or how this undesirable behaviour is generated?