How to a UserControl derived control in the Internet Explorer

  • Thread starter Thread starter Ullrich
  • Start date Start date
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.
 
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
 
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
 
Back
Top