• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

How to restore Win 2000 registry after files where compiled on Win XP

I've inherited a VB5 application. The source code was originally developed on Win 2000 OS. Later it was accessed and compiled on Win XP. It created  a lot of errors. Now when I try to bring it back to Win 2000, it destroyed licensing information on the comctl32.dll, comct232.dll and comdlg32.dll in Win 2000. How can I restore my system and licenses on Win2000? When I try to re-register these files, I have "DllRegisterServer entry point not found"  I have no idea how to use PView to find these files in memory and remove them. Need help ASAP
1 Solution
Go to RUN > MSCONFIG > BOOT.INI and within the boot options, select safeboot, then select minimal(alternate shell)
Hit OK and reboot!! By Default XP has this key set to cmd.exe (Its located here: HKEY_LOCAL_MACHINESYSTEM/CurrentControlSet/ControlSafeBoot)
You will now boot up and be at a functional DOS prompt with access to all drives and files!!!
I think there might be a few ways to go about fixing this one... you'll most likely find that you need to register the .OCX files and not the dll files that you were mentioning. You could always go out to filemirrors anjd do a search for you missing/corrupted files and then replace them that way, or if they exist on the Windows 2000 CD you could extract them from there.
laguna21Author Commented:
These controls for VB5 updates in VS97_SP3 (all of them). With corrupted comdlg32.dll nothing gets installed. It runs through the SP3 Setup.exe with Successful message, but no changes were made to the registry. Now I'm afraid to distribute this SP3 for VB5 to the users, because it was last updated in 2001, before XP, and I don't want to compromise their OS. Is there any way to remove SPs to clean up the system? They are not visible in Add/Remove Software.
laguna21Author Commented:
After performing search on the Microsoft website by the keywords "No license" I found out that this is a Microsoft problem and has a fix service pack, available for download. It fixed my problem in a second...
Thank you
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now