Click here to Skip to main content
15,900,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a Visual Basic 5.0 program that installs without incident on Win 95, 98 and XP, but not on Windows 7.
I wrote the program and have the source code, but don’t know how to solve this problem.

Errors displayed installing VB 5.0 application on Windows 7:

#1 Publisher Unknown (expected)

#2 An access violation occurred while copying file C:\Windows \ System 32 \ VBAJET32.dll
     Action taken to proceed: Abort Retry Ignore

#3 An error occurred while registering the file C:\ Programs Files x86 Common Files / microsoftshared \ DAO \ DAO350.dll
     Action Taken to proceed: Abort Retry Ignore

#4 An error occurred while registering the file C:\Windows \ System32 \ SJDOCVW.dll
     Action Taken to proceed Abort Retry Ignore



The final dialogue box states:
CompareWare set up was completed successfully
The program then executes correctly

I have a program that I sell and I want it to beable to work with windows 7 too.
Posted
Updated 13-Aug-10 20:45pm
v3
Comments
Goutam Patra 14-Aug-10 2:32am    
VB5/6 is history. If you cannt upgrade your VB version why do you want to upgrade the Windows version. Use Windows 95,98.

1 solution

The best thing you can do (given that you can't control what OS the user will have) is to do one of these:
1) Modify your setup to check for Win7 or above and refuse to install (not user friendly, unlikely to get repeat sales)
2) Convert your software to the latest version of VB, and list in the "minimum requirements" those for the .NET framenwork you will require.
3) Convert your software as at (2) and check in your new setup which version you want to install.
4) Convert your software as at (2) and sell both versions, depending on the users OS requirements. You may want to charge a premium for the new version to cover the work involved.

VB5 is dead and buried. VB6 has been out for over ten years! That it works on XP is good, Vista would surprise me lots, and 7 would be very odd.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900