With all due respect, i think this would be even more waste of time and efforts. Registering/Unregistering DLLs, OCXs takes hardly any time if you know the commands.
Simple type ..........
regsvr32 filepath to register and
regsvr32 -u filepath to unregister.
You can run these command's from start menu - > run.
I think what could be really usefull is if i could right click on some DLL or OCX anywhere in my hard drive and Register/Unregister option could come up in that menu. I think that would be really helpfull. I haven't seen that example anywhere on this forum.....???? May be i should take the initiative and do this ...
You can add those verbs to the context menus for .OCXs by adding it in the View->Folder Options->File Types definitions.
Just point it to regsvr32.exe and add a /u parameter for the Unregister verb.
If you can see DLL file types in that list then you can do likewise. If not, what I did was create Register and Unregister shortcuts in my "Send To" menu that again point to regsvr32 with the /u parameter for Unregister.
You just right click on the ocx or dll and go Send To->Register or Unregister.
*CORRECTION*
For unregistering (by Send To) I had to create a little Sub Main app that takes whatever filepath it is passed and shells regsvr32 with the /u param. I forgot that shortcuts don't seem to recognize additional parameters..
Last edited by brenaaro; May 30th, 2003 at 08:18 AM.
And I, for one, welcome our new insect overlords. I'd like to remind them as a trusted TV personality, I can be helpful in rounding up others to toil in their underground sugar caves.
Cool, thanks! But it doesn't seem to work for .ocx files (NT4)...?
And I, for one, welcome our new insect overlords. I'd like to remind them as a trusted TV personality, I can be helpful in rounding up others to toil in their underground sugar caves.
I'm working on 2000 now, but if I recall correctly, I think I solved the problem by adding that extra CRLF at the end of the .reg file.
It's just that the entry wasn't getting added to the registry.
And I, for one, welcome our new insect overlords. I'd like to remind them as a trusted TV personality, I can be helpful in rounding up others to toil in their underground sugar caves.