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

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

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