Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I Had develop project in VB6. And it should run in Windows Xp and it shouldn't run in Windows7 & 8 (all OS are 32-bit only)
Please Some one Help me from this problem......
Thanks.....
Posted

I also had projects I developed in VB 6 on XP. They still run on XP. They do not install correctly on Vista, Windows 7/8. The problem is the Dll's ( dependencies) that vb uses. When Microsoft
went to Vista, they supported but didn't ship many of those dependencies that your program might require or Shipped but didn't support.
I found I had to create a batch file to unregister some dll's then register them again for them to be recognized in the Windows -> program files folder because of the UAC.
After doing that a few times I realized I could just simply create an installation package and install my program to the Common Files Folder. Then I no longer needed the batch file.

So what you need to do is to make sure your code is ok ( like Send Keys on Vista doesn't work the way it did on XP) and then recompile your program and create an installation folder for the Common Files Folder. Expect some files to end up in the compatibility folder, like the ini or .mdb files.
 
Share this answer
 
please give some input. what is error is coming while running? or what is the actual problem you had while running your app.
 
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