I have Vb 6.0 appplication which I packaged & developed on Windows XP SP2 the package is running fine on Xp but it does not work on Vista. What can I do to make it work on Vista?
Printable View
I have Vb 6.0 appplication which I packaged & developed on Windows XP SP2 the package is running fine on Xp but it does not work on Vista. What can I do to make it work on Vista?
Welcome to the Forums.
Thread Moved from VB FAQ Forum
You have to re-code your app to adhere to the new Vista security rules.
If your app accesses the registry or writes to it then you will need to elevate a separate process to do that task. Then any files installed may use virtualization if you install them to the root drive folder or Program files etc.
Search Microsoft for "File and Registry Virtualization" for details as its a bit involved.
Additional issues will plague programs that use long-deprecated technologies such as DAO 3.5, which can impact several of the early database controls packaged with VB6. The suggested course is to move to DAO 3.6 or all the way to ADO.
There are other non-mainstream VB6 components that are no longer supported in Vista. In addition the DHTMLEdit control was removed from Vista but a replacement can be downloaded from Microsoft if needed in your VB6 applications.
For some details that include lists of supported and unsupported components see Support Statement for Visual Basic 6.0 on Windows®Vista™and Windows®Server 2008™.
Have you looked through here?