Eric -
I've done this in the registry:
[tt]
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\dllfile\shell]
[HKEY_CLASSES_ROOT\dllfile\shell\Register]
[HKEY_CLASSES_ROOT\dllfile\shell\Register\command]
@="\"regsvr32\" \"%1\""
[HKEY_CLASSES_ROOT\dllfile\shell\UnRegister]
[HKEY_CLASSES_ROOT\dllfile\shell\UnRegister\command]
@="\"regsvr32\" \"/u\" \"%1\""
[/tt]
This causes "Register" and "UnRegister" to appear on the popup-menu for all DLL's. You can do the same for OCX's by modifying the "ocxfile" entry under the root. If the "ocxfile" isn't there, change the default value under the ".ocx" key to say "ocxfile", then create the "ocxfile" entry (all under HKEY_CLASSES_ROOT).
Chip H.