Go to Google Groups Home    microsoft.public.windows.developer.mediacenter
Re: IsEntryPointRegistered not working

casey chesnut <ca...@more_spambrains-n-brawn.com>

i like that ...
but i'm assuming it could be sidestepped with an ActiveX control checking
the registry?

Thanks,
casey

"Michael Creasy [MSFT]" <mcre...@online.microsoft.com> wrote in message
news:evtx%23MraFHA.1152@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-A60 7-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