Getting file/access error - VB6 App. Help?

MAtkins

New member
Local time
10:26 AM
Messages
2
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).
 

My Computer

OS
Windows 7 64bit
Have you tried having them run the install in Compatibility mode?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate x64
CPU
AMD A10-7850 Quad Core 3.7 GHz
Motherboard
MSI MS-7900
Memory
16 GB
Graphics Card(s)
MSI Radeon R7 250 OC Crossfired with A10 AMD Radeon R7
Monitor(s) Displays
Samsung SyncMaster XL2370HD, ViewSonic VA1912wb
Screen Resolution
1920*1080, 1440*900
Hard Drives
128 GB SSD
512 GB SSD
500 GB HDD
PSU
Corsair CX500
Case
Rosewill THOR V2 BLACK
Keyboard
Logitech G15
Mouse
CMSTORM MS2K
Internet Speed
ATT U-Verse
Antivirus
Microsoft Security Essentials, MalwareBytes
Browser
Firefox (lastest stable) with NoScript
Other Info
Just a humdrum little system.
thanks for the reply.
No, I haven't. Part of the problem with that is the people who will buy/use this app will not know how and will not be inclined to try.

I'm sure this is a 'file write' problem. Is there anything I can do when creating the installation to help?
Is there maybe a different folder (with a system variable I can use??) that will permit the application to write and overwrite a file?
 

My Computer

OS
Windows 7 64bit
Back
Top