Link to home
Start Free TrialLog in
Avatar of laguna21
laguna21

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of magus123
magus123

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hussein621
hussein621

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.
Avatar of laguna21

ASKER

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.
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