|
|
|
Terms of Agreement:
By using this article, you agree to the following terms...
1) You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame.
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description. | 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 \"%L\""
[HKEY_CLASSES_ROOT\dllfile\Shell\Unregister]
[HKEY_CLASSES_ROOT\dllfile\Shell\Unregister\Command]
@="Regsvr32 /u \"%L\""
[HKEY_CLASSES_ROOT\ocxfile\Shell]
[HKEY_CLASSES_ROOT\ocxfile\Shell\Register]
[HKEY_CLASSES_ROOT\ocxfile\Shell\Register\Command]
@="Regsvr32 \"%L\""
[HKEY_CLASSES_ROOT\ocxfile\Shell\Unregister]
[HKEY_CLASSES_ROOT\ocxfile\Shell\Unregister\Command]
@="Regsvr32 /u \"%L\""
[HKEY_CLASSES_ROOT\.tlb]
@="typelib"
[HKEY_CLASSES_ROOT\typelib\shell\Register\command]
@="regtlib \"%L\""
[HKEY_CLASSES_ROOT\typelib\shell\Unregister\command]
@="regtlib -u \"%L\""
| |
Download article
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.
Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE: 1)Re-scan downloaded files using your personal virus checker before using it. 2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code. 3)Scan the source code with Minnow's Project Scanner
If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com
|
Terms of Agreement:
By using this article, you agree to the following terms...
1) You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame.
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description. |
Other 14 submission(s) by this author
|
|
|
Report Bad Submission |
|
|
Your Vote! |
See Voting Log |
|
Other User Comments |
11/14/2003 11:22:31 AM:Knoton I forgot to mention that you ofcourse
also need to run the .reg file to apply
the data into the registry :-)
|
11/14/2003 12:33:45 PM:<big><font color=''&HFF2222''>WKG Software</font></big> Hey, thanks! This will be quite useful.
|
11/14/2003 1:29:44 PM:Serge Lachapelle Excellent, why i have not thought about
it before !
you can do it also for
.ACM and .AX (audio/video codecs)
|
11/14/2003 2:32:47 PM:Knoton I am glad you like it.
The simpliest
solutions are often the best ones :-)
|
11/14/2003 4:56:42 PM: Sweet...
|
11/15/2003 12:33:34 AM:MrBobo Neat isn't it - though it has been
posted many times before...just a few
from my
database...
CodeId=8725
CodeId=39500
CodeId=32915
CodeId=30755
CodeId=24498
CodeId=13246
CodeId=12020
CodeId=970
9
CodeId=46775
|
11/15/2003 2:13:46 AM:Knoton Hehehehe Well, looks like it needs
posting many times since there still is
people who hasn´t thought about this
:-)) I know I am one of them.
|
11/19/2003 7:44:23 AM:Vlad Vissoultchev Replace %1 with %L to get long file
names support.
Now guess how
"regtlib -q \"%L\"" and "regtlib -q -u
\"%L\"" can be used
:-)))
HTH,
</wqw>
|
11/19/2003 1:11:59 PM:Knoton %L is good to know thanks Vlad
:-)
Regtlib is for making
typelibraries.
|
11/19/2003 1:13:24 PM:Knoton Correction regtlib is for
registering/Unregistering typelibs...
|
11/19/2003 1:18:02 PM:Knoton Vlad - Where in the registry do I find
"tlbFile" ?
|
11/21/2003 5:03:38 AM:Vlad Vissoultchev Knoton, check out this reg
script:
[HKEY_CLASSES_ROOT\.tlb]
@="
typelib"
[HKEY_CLASSES_ROOT\typelib\s
hell\Register
TypeLib\command]
@="regtlib -q
\"%L\""
[HKEY_CLASSES_ROOT\typelib\sh
ell\Unregister
TypeLib\command]
@="regtlib -q -u
\"%L\""
HTH,
</wqw>
|
11/21/2003 11:35:00 PM:Masino Sinaga Makes me easier to register .ocx and
.dll file. Thank you for sharing this.
Simple but great!
|
|
Add Your Feedback! |
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.
NOTICE: The author of this article has been kind enough to share it with you. If you have a criticism, please state it politely or it will be deleted.
For feedback not related to this particular article, please click here. |
|