I have a VB6 application that still references some old libraries (DLL vb5, VBR, TLB and OCX). We have some strange problems, such as he cannot read the registry using advapi32.dll. I tried to run the application with UAC permissions but still did not go. We cannot recompile the application because it contains several controls and components that cannot be found for download and are no longer supported. Any ideas (other than rewriting, as we are already working on it) are appreciated.
To add, we have already tried this application in Windows XP mode. However, here are my "fights" with this:
- Windows loaded as vbFormCenter and vbModal are centered between the two monitors. Even after dragging it onto one of the monitors, he does not remember where the modal should be.
- When you try to print, at random, it takes up to 5 minutes to complete a job. This is because (or at least I think this is the reason), the XP Mode machine loads printers from the host.
- Some DCOM link seems random random
- A printer connected via USB can only be on the host or virtual machine, and not both, since it uses a pass. However, you cannot force the application to allow the printer to be connected.
- Older applications (VB5 and VB6) do not always close when calling Application.Exit. I don’t know why this is, but you can open the form and call an additional day off, when the button is pressed and out of 25 times, 10-20% of the time it does not close. Thus, there is no way to show the application as a subprocess on the host machine so that it can be killed.
Phew These are just a few.
source
share