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

Posted on 2004-04-23
Last Modified: 2011-10-03
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
Question by:laguna21

Accepted Solution

magus123 earned 250 total points
ID: 10905213

Expert Comment

ID: 10906456
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!!!

Expert Comment

ID: 10910347
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.

Author Comment

ID: 10919054
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.

Author Comment

ID: 11397808
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

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

#Citrix #POC #XenDesktop #vCenter #VMware #ESX
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now