Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Getting file/access error - VB6 App. Help?

03 Aug 2010   #1

Windows 7 64bit
Getting file/access error - VB6 App. Help?


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 System SpecsSystem Spec
03 Aug 2010   #2

Windows 7 Ultimate x64

Have you tried having them run the install in Compatibility mode?
My System SpecsSystem Spec
03 Aug 2010   #3

Windows 7 64bit

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 System SpecsSystem Spec


 Getting file/access error - VB6 App. Help?

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
HomeGroup File Access Not Working Permissions Error
Hi Guys, I'm having some dificulty using HomeGroup file access between my desktop which is upstairs and my laptop which is downstairs. I want to be able to access my User Folders on my desktop so I can copy files to my laptop without having to copy them to a jump drive all the time. I've...
Network & Sharing
Custom screensaver file read access right, network access
Hi, I've creates my own custom screensaver (in Visual Studio 12 using WPF), which need access to network for check an weather and email check. I've settings saved in two files. First one is NotifyScreensaver.scr.config, where I've only url to server, from which I take weather informations....
Themes and Styles
Windows can't access file. May not have permission to access.
Hello, I am attempting to access an application.exe file on my desktop. Each time that I click on it the Windows message, "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item." pops up. I am the system administrator so this...
General Discussion
Windows cannot access the specified path or file Error.
Hello everyone, I am having a problem with my computer atm and will give you the story. I have a 1 tb HD, installing a fresh install of Windows 7 using an upgrade disc and a very helpful tutorial, since I was unable to install it on the whole drive I had to partition it to a 50gig and the rest...
General Discussion
i can't access to C: or D: - file association error
i use win7 ultimate 32bit, i can't access to C: or D: everything else works perfect (like exe files,regedit,run etc) i can get inside C: or D: via "right click + open" , but when i double click i get error called; "This file does not have a program associated with it for performing this...
General Discussion
Win7 x64 Crashes on Internet Access or File Access
Hi all, So i'm writing this from Safe Mode with Networking as that seems to be the only way to keep the system stable. I was working on my computer last night with zero problems. I shut it down and then today I have the following symptoms. Once i boot, i can open folders on the desktop and...
BSOD Help and Support

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:43.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App