Hi Patrick,

On Sunday, June 23, 2002, 1:06:50 PM, you [PH] wrote:

PH> Another way:

PH> In addition to my previously posted registry keys you should also
PH> import (don't forget to insert your local path ;-)

PH> <start>
PH> Windows Registry Editor Version 5.00

PH> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto]
PH> @="URL:MailTo-Protokoll"
PH> "EditFlags"=hex:02,00,00,00
PH> "URL Protocol"=""

PH> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\DefaultIcon]
PH> @="E:\\PROGRAMME\\THE BAT!\\THEBAT.EXE,0"

PH> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\shell]

PH> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\shell\open]

PH> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\shell\open\command]
PH> @="\"E:\\PROGRAMME\\THE BAT!\\THEBAT.EXE\" %1"
PH> <end>

Excellent!  Finally, it works. Funny though cos I loaded up
regedit.exe as "Ben" - Power User and made the changes with no
permission errors or the like.

PH> Maybe some professionals will be reading this mail so I've a question,
PH> too:

PH> I've replaced HKEY_LOCAL_MACHINE by HKEY_CURRENT_USER in this case and
PH> in my previously posted mail, so even as a non admin user I've the
PH> possibility to add these keys to the registry. It worked fine: The Bat
PH> was listed as the standard E-Mail client in the start menu (WinXP
PH> feature) and it was used everytime I clicked a mailto link in IE.
PH> Unfortunately, The Bat still asked to be registered as the standard
PH> client. Maybe because it looks explicitly under HKEY_LOCAL_MACHINE?
PH> So every user on the same machine would be using the same standard
PH> mail client.
PH> Wouldn't it be better if The Bat used HKEY_CURRENT_USER instead of
PH> HKEY_LOCAL_MACHINE?

If this is the case, I would say a big "yes"!

:D

-- 

Ben Kennish
[EMAIL PROTECTED]


________________________________________________________
Current Ver: 1.60q
FAQ        : http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://www.ritlabs.com/bt/

Reply via email to