Message from discussion
IsEntryPointRegistered not working
From: "Michael Creasy [MSFT]" <mcre...@online.microsoft.com>
References: <Oxwr$8daFHA.3132@TK2MSFTNGP09.phx.gbl> <#JwSZzeaFHA.3184@TK2MSFTNGP15.phx.gbl>
Subject: Re: IsEntryPointRegistered not working
Date: Mon, 6 Jun 2005 09:17:31 -0700
Lines: 50
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
Message-ID: <evtx#MraFHA.1152@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.windows.developer.mediacenter
NNTP-Posting-Host: tide519.microsoft.com 131.107.0.89
Path: g2news1.google.com!news4.google.com!news.glorb.com!newshub.sdsu.edu!msrtrans!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
Only a registred app can tell if an entrypoint is registered and only an
entrypoint it owns. This is to prevent Company A seeing if Company B's
software is installed on your system.
--
Michael Creasy [MSFT] - http://blogs.msdn.com/mcreasy
This posting is provided "AS IS" with no warranties, and confers no rights.
"casey chesnut" <casey@MORE_SPAMbrains-N-brawn.com> wrote in message
news:%23JwSZzeaFHA.3184@TK2MSFTNGP15.phx.gbl...
> it actually just worked a second ago.
> it seems to work from 'More Programs', but not from a MCL file?
>
> Thanks,
> casey
> http://www.brains-N-brawn.com
>
>
> "casey chesnut" <casey@MORE_SPAMbrains-N-brawn.com> wrote in message
> news:Oxwr$8daFHA.3132@TK2MSFTNGP09.phx.gbl...
>> this is basically straight from the SDK sample NewsMain.htm
>> i'm registering my Hosted HTML like this :
>>
>> var sXMLString = "<application title='brains-N-brawn.com'
>> companyname='brains-N-brawn LLC'
>> id='{A3CC7DED-E765-488d-A607-1AD5AD9BF570}'><entrypoint
>> id='{A3CC7DED-E765-488d-A607-1AD5AD9BF571}'
>> url='http://www.brains-N-brawn.com/' title='brains-N-brawn.com'
>> description='brains-N-brawn.com'
>> ImageUrl='http://www.brains-N-brawn.com/bNbLogoMce.PNG'><category
>> category='More Programs'/></entrypoint></application>";
>> window.external.MediaCenter.RegisterApplication(sXMLString, false, true);
>>
>> then in pageLoadFunctions it calls checkRegistered :
>>
>> var bIsRegistered =
>> window.external.MediaCenter.IsEntryPointRegistered('{A3CC7DED-E765-488d-A607-1AD5AD9BF571}');
>>
>> the problem is that bIsRegistered always returns false?
>> but if i try to re-register then i get an error dialog saying its already
>> registered ...
>>
>> Thanks,
>> casey
>>
>>
>
>