How to a UserControl derived control in the Internet Explorer

U

Ullrich

Hi All
It is possible to integrate a UserControl derived controls in html
pages the Internet Explorer in Windows XP by using the <object> tag.
Now I create a create a fresh "Visual C# > Smart Device > Pocket PC
2003 > Control Library" project, but it is not possible to use this
control successful in a html page in the Mobile Internet Explorer. Is
this generally possible. And if yes, why not in my environment. I'm
using Windows Mobile 5.0 and the Compact Framework 2.0. Maybe the
security zone settings are the problem, but I don't know how to change
them. This page is always classified as "Internet", but using .NET
control in the IE may have more rights.
 
P

Peter Foot [MVP]

This is not possible. On Windows CE you have to write an ActiveX control in
native code - the Compact Framework doesn't support COM registration of
managed classes.

Peter
 
U

Ullrich Praetz

Thank you Peter,

I supposed, that the integration of a .NET Control don't require COM.
On Desktop as well as on Windows Mobile.
Embedding an ActiveX control in a html page is little different. For
embedding a .NET control I used the following tag:

<object id="HelloWorldControl1"
classid="Map24Control.dll#Map24Control.Map24Component"
height="500" width="500" viewastext>
</object>

Regards, Ulli
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top