x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 

VBRegFix 2.2

eVB Registry Repair Utility
Category(s):
You must be registered and logged into HPC:Factor in order to contribute to the SCL.

Description

When eVB programs are created with an installation program using the default settings in the Microsoft eVB development package, they include all the eVB runtime DLLs and the DLLs for any controls they use such as the tree control. When such a program is installed, it copies over the DLL’s, replacing the ones in ROM, adding the control DLLs which are not in ROM, and registers them all in the PocketPC registry. This is OK so far. The problem comes when you have more than one eVB program installed and you uninstall one which was created as described above. When such a program is uninstalled, it removes the DLL’s and unregisters them as part of the normal uninstall.

Now you cannot run any of the other installed eVB programs on your PocketPC. The reason for this is that the only way WinCE knows how to run an eVB program is by looking at the registry entries that were just removed by the uninstall. You still have all the DLL’s in ROM, you still have all your installed eVB programs, but they won’t run because WinCE doesn’t know what to do with them. In the case of the control DLLs it’s even worse, not only are they unregistered, they are deleted and there isn’t a ROM version, so they are completely gone.

There is nothing eVB program authors can do about this, their programs never even start. VBRegFix is a C++ program so it can run even if the eVB DLL’s are unregistered.

The way VBRegFix goes about avoiding all this is by changing what the built in uninstaller thinks has been installed. When an application is uninstalled, the uninstaller knows what to delete by reading a hidden unload file created for that application when it was installed. If you run VBRegFix after installing an eVB programs, it reads all the unload files, edits them to remove all references to the eVB DLLs and writes them back. Now, when the uninstaller runs, it doesn't find any references to the eVB DLLs, so it doesn't delete them, and all other applications that use them can keep running.

As my wife pointed out, a problem with just the above is that there isn't any way to get rid of the DLLs which really aren't used by any of the installed applications. This can eat up to 2MB of RAM. To get around this, VBRegFix makes a backup copy of the original unload files before editing them, essentially creating a list of what DLLs are used by what programs. When an application is uninstalled, its unload file is deleted, and if VBRegFix V2 doesn't find that unload file, it deletes the corresponding backup unload file, so there are only backups of unload files for applications that are still installed. To do the cleanup, VBRegFix scans all the unload backups, building a list of all referenced DLLs, those used by any of the installed applications. Any eVB DLLs not found in at least one of the backup copies will be deleted
since no installed application is using it.

The DLLs VBRegFix works with are:

adoce30.dll
adocedb.dll
adoceoledb30.dll
adosync.dll
fileosp.dll
finance.dll
MSCEComDlg.dll
MSCEComm.dll
MSCEFile.dll
MSCEGrid.dll
MSCEImage.dll
MSCEImageList.dll
MSCEListView.dll
MSCEMenuBar.dll
MSCEPicture.dll
MSCETabStrip.dll
MSCETreeView.dll
MSCEWinSock.dll
msdadc.dll
msdaer.dll
msdaerde.dll
msdaeren.dll
msdaeres.dll
msdaerfr.dll
msdaerit.dll
msdaerjp.dll
msdaerpt.dll
msdaersp.dll
pvbdecl.dll
pvbform2.dll
pvbhost2.dll
vbscript.dll

Tags

Visual BasicRuntimeVBeMbedded Visual BasiceVBFix

   
License Freeware
The program is completely free to use.
   
Website http://www.nca-corp.com/
This link is no longer available on the World Wide Web and will attempt to load via the WayBack Machine
   
Popularity 1950
Total Downloads  6
   
Submitted By C:Amie
Submitted On 11 October 2022

Comments

No comments have been submitted against this application. Be the first!

You must be signed-in to post comments in the SCL. Not registered? Join our community.

Software Compatibility List: The SCL is provided for free to the Handheld PC Communty and we do not carry advertising to support our services. If you have found the SCL useful, please consider donating.