|
|
|
start date: Thu, 12 Jul 2007 11:51:04 -0700,
posted on: microsoft.public.dotnet.framework.compactframework
back
| Thread Index |
|
1
unknown
|
|
2
Peter Foot [MVP]
|
|
3
Ullrich Praetz
|
How to a UserControl derived control in the Internet Explorer
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.
Date:Thu, 12 Jul 2007 11:51:04 -0700
Author:
|
Re: How to a UserControl derived control in the Internet Explorer
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
--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility
wrote in message
news:1184266264.280888.10420@w3g2000hsg.googlegroups.com...
> 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.
>
Date:Fri, 13 Jul 2007 09:06:32 +0100
Author:
|
Re: How to a UserControl derived control in the Internet Explorer
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
On 13 Jul., 10:06, "Peter Foot [MVP]"
wrote:
> 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
>
> --
> Peter Foot
> Microsoft Device Application Development MVPwww.peterfoot.net|www.inthehand.com
> In The Hand Ltd - .NET Solutions for Mobility
>
> wrote in message
>
> news:1184266264.280888.10420@w3g2000hsg.googlegroups.com...
>
> > 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.
Date:Fri, 13 Jul 2007 08:52:16 -0000
Author:
|
|
|