Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: About Registry key

Geek News

About Registry key
Yael 5/29/2007 6:34:00 AM
Hi,
I have in a C# project this method to check if my com add-in alredy installed

private static bool IsAlreadyInstalled()
{
Microsoft.Win32.RegistryKey key =
Microsoft.Win32.Registry.ClassesRoot.OpenSubKey("MatarotToolbar.Connect");
return key != null;
}


It's return to me allways true, even I did uninstall to check it..any idea??

I tried to write:
"MatarotToolbar.Conne"
Then, it's return false (Connect -- >Conne ).
if I uninstall the com add-in, this key is still in the Registry??

Thank's

Re: About Registry key
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 5/29/2007 5:56:18 PM
See my reply to your previous post.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Yael" <Yael[ at ]discussions.microsoft.com> wrote in message
news:174FE04B-08D1-43C9-89D8-470F901BFC5D[ at ]microsoft.com...
[Quoted Text]
> Hi,
> I have in a C# project this method to check if my com add-in alredy
> installed
>
> private static bool IsAlreadyInstalled()
> {
> Microsoft.Win32.RegistryKey key =
> Microsoft.Win32.Registry.ClassesRoot.OpenSubKey("MatarotToolbar.Connect");
> return key != null;
> }
>
>
> It's return to me allways true, even I did uninstall to check it..any
> idea??
>
> I tried to write:
> "MatarotToolbar.Conne"
> Then, it's return false (Connect -- >Conne ).
> if I uninstall the com add-in, this key is still in the Registry??
>
> Thank's
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net