That location was listed as well when I researched it. I've always thought that the local machine setting took effect for all users though so it would be best to look at.
>Sergey and Tracy
>
>Thanks. That's correct except on Vista (on the machine I am using) there is another key in
>HKEY_CURRENT_USER\SOFTWARE\Clients\Mail
>
>It would appear that's that one Vista is updating consistently. Changing default email client didn't change the value in HKEY_LOCAL_MACHINE entry.
>
>I take I hove to look in current_user first. Any comments will be much appreciated.
>
>Mathias
>
>
>>Tracy is correct about registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail. See
Adding an Email Client Application for details
>>
>>The default e-mail client application
>>
>>HKEY_LOCAL_MACHINE
>> SOFTWARE
>> Clients
>> Mail
>> (Default) = Mail_Client
>>
>
>>>
>>>I haven't checked this on xp but it appears so far it is the Vista users being affected to that's where my interest is.
>>>
>>>I use an lagacy registry class to pick the default email client and the code looks for a key in registry's "mailto\shell\open\command" in Classes Root.
>>>
>>>This works fine most of the time. The default email client on Vista is Windows Mail. If a customer upgrades or installs Windows Live Mail, and sets it as default email client, the key above still points to Windows Mail.
>>>
>>>Any advice please on where I should be looking instead or where else I should be looking. The ShellExecute works fine and it does pick the right client so it must be lodged some, any ideas will be much appreciated.
>>>
>>>Thank you
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"