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

Posted on 2004-04-23
Medium Priority
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 750 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
#Citrix #POC #XenDesktop #vCenter #VMware #ESX
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Suggested Courses

807 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