New
#1
Getting file/access error - VB6 App. Help?
Hi:
I have an application that was developed a long time ago in Visual Basic 6.
I'm a developer who has been asked to do some minor upgrades to it and make it installable and workable in Windows 7.
This is for mass distribution so changing Windows 7 settings will not solve this problem for me.
It writes data to a pdf file, basically, it creates a pdf report.
It tries to write files to the (in VB) App.Path folder, which should be the folder that the application runs in, inside Program Files (x86).
I use the Windows installer (.msi) for installation and that seems to be working great.
I have Windows 7 but have relaxed the file access permissions. The application runs fine on XP and it runs fine on my machine.
However, everyone else who has Windows 7 cannot run it. They keep getting a file/access error when it tries to create the pdf report file.
How can I develop the application so that a customer can install it and we can be sure it will run (obviously, we can't change their Windows settings).