SideBar Gadget and <object /> Tags

I assume that SIdebar is using a mini-IE7 window to display themselves, but I can't seem to get an <object /> tag to work in my gadget. Any idea why that wouldn't work? Before I spin my wheels understanding what is happening, I wanted to make sure that there wasn't a security prohibition to using an <object /> or a <embed /> tag.
[352 byte] By [ShawnWildermuth-MVP] at [2007-12-29]
# 1

I'm also trying to figure this out becuase I'm trying to display WPF/E in the Sidebar.

Thanks!

BryantLikes at 2007-9-4 > top of Msdn Tech,Gadgets,Sidebar Gadget Development...
# 2

It should work, I'm using ActiveX pretty extensively in my gadget without many problems(though security in Vista can be hard to handle).

Dan

DanOConnell at 2007-9-4 > top of Msdn Tech,Gadgets,Sidebar Gadget Development...
# 3
Sidebar doesn't natively support WPF applications, although the guys over there have written Sidebar Styler, which adds this capability.

If you want to go the IFrame route:

There's this article which includes sample code and pics.
And here's a sample WPF Gadget.

JonathanAbbott at 2007-9-4 > top of Msdn Tech,Gadgets,Sidebar Gadget Development...
# 4
Thanks Jonathan, but we're talking about WPF/E (a web technology not WPF). It looks as though there is some issue with the way that the WPF/E ActiveX objet is dealing with paths.
ShawnWildermuth-MVP at 2007-9-4 > top of Msdn Tech,Gadgets,Sidebar Gadget Development...
# 5
WPF/E is just a subset of WPF that's cross-platform/cross-browser. Running them though an IFrame does work.
Referencing external files will not work. Quoting Brian from the Sidebar Dev team:

"Samples

that access external files will not be able to access those files. This

includes images referenced in the XAML and XAML files, even inside the

gadget package.

This

is not a security issue, but rather a problem with the way the “WPF/E”

control resolves file paths and URLs. Unfortunately, there is no known

workaround, such as placing the files on a remote server. Only XAML

content embedded in the HTML files will load."

Here's another example for you that shows both WPF and WPF/E Gadgets

JonathanAbbott at 2007-9-4 > top of Msdn Tech,Gadgets,Sidebar Gadget Development...