Well, if we allow a couple of things:
- This is only a problem for Vista or later.
- Your data is located in subfolders under the App.Path section.
... I have a workaround that you can use.
Please note that I use this trick only when I have a bunch of old VB6 programs that were written to use data in folders under App.Path, it seems to be a quick and dirty hack to quickly launch many programs. I almost always add or update an application manifest, mainly to prevent virtualization.
The changes I make are as follows:
- Add a little code to Sub Main (paste in Sub Main if the program does not already have one).
- ( Sub Main) .
Vista . , , .
hunky-dory, , Win2K, XP ..
, , App.Path, PathLinks.
Pathlinks Public, . App.Path . , App.Path.
Windows Vista PathLinks App.Path( App.Path), ( ).
, - App.Path .
, . TaskDialog MsgBox.
, PathLinks - Tame App.Path Under Vista +
, , " ". Sub Sub Sub Main .