|
-
Nov 27th, 2003, 09:09 AM
#1
Thread Starter
Hyperactive Member
Registry and FileExtensions?
Hey all,
i wrote a small (very small) app in c# that will deploy my assemblies to the gac. Now i created an shortcut to my app, and put that shortcut in my sendto folder. So if I rightclick on an .dll file and point to my app in the sendto popup, it will add the dll to the gac.
So heres my question:
What do I need to do, to be able to just right click a .dll File and see my app in the context menu? I guess there are some keys in the registry i need to add, but just cant find them.
Hope that makes sense,
Thanks in advance,
Stephan
Keep Smiling - even if its hard 
Frankie Says Relax, wossname Says Yeah!
wossname:--Currently I'm wearing a gimp suit and a parachute.
C# - Base64 Blog
-
Nov 27th, 2003, 09:43 AM
#2
See if this helps:
Code:
REGEDIT4
[HKEY_CLASSES_ROOT\dllfile\Shell]
@="Register"
[HKEY_CLASSES_ROOT\dllfile\Shell\Register]
[HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]
@="regsvr32.exe %1"
[HKEY_CLASSES_ROOT\dllfile\Shell\Unregister]
[HKEY_CLASSES_ROOT\dllfile\Shell\Unregister\command]
@="regsvr32.exe /u %1"
[HKEY_CLASSES_ROOT\.ocx]
@="ocxfile"
[HKEY_CLASSES_ROOT\ocxfile]
@="OCX File"
"EditFlags"=hex:00,00,01,00
[HKEY_CLASSES_ROOT\ocxfile\Shell]
@="Register"
[HKEY_CLASSES_ROOT\ocxfile\Shell\Register]
[HKEY_CLASSES_ROOT\ocxfile\Shell\Register\command]
@="regsvr32.exe %1"
[HKEY_CLASSES_ROOT\ocxfile\Shell\Unregister]
[HKEY_CLASSES_ROOT\ocxfile\Shell\Unregister\command]
@="regsvr32.exe /u %1"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|