Getting file/access error - VB6 App. Help?


  1. Posts : 2
    Windows 7 64bit
       #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).
      My Computer


  2. Posts : 186
    Windows 7 Ultimate x64
       #2

    Have you tried having them run the install in Compatibility mode?
      My Computer


  3. Posts : 2
    Windows 7 64bit
    Thread Starter
       #3

    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


 

  Related Discussions
Our Sites
Site Links
About 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 22:11.
Find Us