Mirage Source http://web.miragesource.net/forums/ |
|
[Tweak] Shell .dll registration http://web.miragesource.net/forums/viewtopic.php?f=183&t=5672 |
Page 1 of 46 |
Author: | Robin [ Sat May 30, 2009 4:25 pm ] |
Post subject: | [Tweak] Shell .dll registration |
Attachment: plugin.PNG [ 58.51 KiB | Viewed 9035 times ] If you've been around Mirage since (near) the beginning, you might remember the age-old registry edit which was released, which allowed you to register a .dll file by adding a shell command to Explorer. I cannot find this file. Recently I started work on getting a VB6 project to be controlled by .dll files I created, but for this they needed to be registered. It got annoying having to regsvr32 them whenever I needed to, so I looked around and found what I was looking for. The problem was, it didn't allow spaces in the directory name, which is near-useless. After an hour or so, I found the fix. So I'm sharing it with you all. If you're lazy, and actually trust me with your registry, I exported my "HKEY_CLASSES_ROOT\dllfile" registry branch. Running the registry file provided, it'll automatically add the shell commands. Attachment: If you want to do it yourself, or want to learn how to add your own shell commands, read on. Type "regedit" in to the run window, and you'll come up with the registry editor. The key we want to edit is in the "HKEY_CLASSES_ROOT" branch, so expand that. Type "dll" and you should automatically highlight "dllfile". Expand this. There should only be a single key in here, called "DefaultIcon". Right click the "dllfile" branch, and click "New -> Key". Call this "shell". Then, right click "shell" and create a new key called "Register .dll", or whatever you want the shell command to be called. Within this, again, create another key called "Command". Double click the '(Default)' string value, and paste in: Code: "regsvr32.exe" "%1" Then repeat the procedure, so you get a second command within "shell" called "Unregister .dll", add another command key, and set the default string value to: Code: "regsvr32.exe" /u "%1" Here's what the "dllfile" branch should now look like: Attachment: regedit2.PNG [ 22.23 KiB | Viewed 9034 times ] There, you can now try out registering and unregistering a .dll file. Yours, Robin |
Author: | ExoShox [ Sun May 31, 2009 1:52 am ] | ||
Post subject: | Re: [Tweak] Shell .dll registration | ||
i made basically the same thing just it reg/unreg .OCX files
|
Author: | wanai [ Wed Jan 05, 2022 8:12 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Econ |
Author: | wanai [ Wed Jan 05, 2022 8:14 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
100.1 |
Author: | wanai [ Wed Jan 05, 2022 8:15 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Bett |
Author: | wanai [ Wed Jan 05, 2022 8:16 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Bett |
Author: | wanai [ Wed Jan 05, 2022 8:17 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Clif |
Author: | wanai [ Wed Jan 05, 2022 8:18 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Erns |
Author: | wanai [ Wed Jan 05, 2022 8:19 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Side |
Author: | wanai [ Wed Jan 05, 2022 8:20 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
XVII |
Author: | wanai [ Wed Jan 05, 2022 8:21 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Wind |
Author: | wanai [ Wed Jan 05, 2022 8:22 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Aliv |
Author: | wanai [ Wed Jan 05, 2022 8:24 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Puzz |
Author: | wanai [ Wed Jan 05, 2022 8:25 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Zyli |
Author: | wanai [ Wed Jan 05, 2022 8:26 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Last |
Author: | wanai [ Wed Jan 05, 2022 8:27 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Colu |
Author: | wanai [ Wed Jan 05, 2022 8:28 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Half |
Author: | wanai [ Wed Jan 05, 2022 8:29 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Roco |
Author: | wanai [ Wed Jan 05, 2022 8:30 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Baba |
Author: | wanai [ Wed Jan 05, 2022 8:31 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Boot |
Author: | wanai [ Wed Jan 05, 2022 8:33 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Soun |
Author: | wanai [ Wed Jan 05, 2022 8:34 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Bloc |
Author: | wanai [ Wed Jan 05, 2022 8:35 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Phil |
Author: | wanai [ Wed Jan 05, 2022 8:36 am ] |
Post subject: | Re: [Tweak] Shell .dll registration |
Phot |
Page 1 of 46 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |