Hosting Silverlight controls on a sidebar gadget

Published Wed, May 16 2007 22:54

What was supposed to be an easy task simply doesn't work. It seems like I can instantiate the AgControl ActiveX object from a "normal" HTML page but it doesn't when the page is loaded on the Windows Sidebar. The error is the old "Automation server can't create object" which really means that the ActiveX can't be instantiated (which doesn't make sense since loading it in the IE browser I do get the object instantiated).

I've open a thread on the Gadgets forum. If anyone has some advice, please let me know. thanks.

Filed under: ,

Comments

# timheuer said on Wednesday, May 16, 2007 6:04 PM

you don't need to instantiate it -- use the silverlight.js file and the createSilverlight() functions to create the correct <object> tag for you --

# Luis Abreu said on Thursday, May 17, 2007 8:23 AM

That is waht i'm doing. the problem is that, during the version testing, the silverlight.js code tries to creatre a new Activex AgControl and it throws that error.

I've tested on another 32 bits machine and it worked. not sure on why it's not working on the 64 bits machine.

# LA.NET [EN] said on Friday, May 18, 2007 6:57 PM

well, almost, that is. And what a ride it was, letting me get some important info on several aspects

Leave a Comment

(required) 
(required) 
(optional)
(required)