Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IsEntryPointRegistered not working

8 views
Skip to first unread message

casey chesnut

unread,
Jun 5, 2005, 10:58:09 AM6/5/05
to
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


casey chesnut

unread,
Jun 5, 2005, 12:35:30 PM6/5/05
to
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$8daFH...@TK2MSFTNGP09.phx.gbl...

Michael Creasy [MSFT]

unread,
Jun 6, 2005, 12:17:31 PM6/6/05
to
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:%23JwSZze...@TK2MSFTNGP15.phx.gbl...

casey chesnut

unread,
Jun 6, 2005, 12:31:57 PM6/6/05
to
i like that ...
but i'm assuming it could be sidestepped with an ActiveX control checking
the registry?

Thanks,
casey

"Michael Creasy [MSFT]" <mcr...@online.microsoft.com> wrote in message
news:evtx%23MraF...@tk2msftngp13.phx.gbl...

Michael Creasy [MSFT]

unread,
Jun 6, 2005, 1:09:08 PM6/6/05
to
Yup, once you've got code on the machine you can do whatever you want.

--
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:%230UDDVr...@TK2MSFTNGP14.phx.gbl...

casey chesnut

unread,
Jun 6, 2005, 4:03:51 PM6/6/05
to
Thanks for the info, i updated the /mceSalt article to explain what was
going on.

BTW your blog (and Charlies) has been very helpful

casey

"Michael Creasy [MSFT]" <mcr...@online.microsoft.com> wrote in message

news:eAwj0pr...@TK2MSFTNGP15.phx.gbl...

0 new messages