Hi,
I have a pretty straightforward project for Windows CE. It would be a
custom shell, launching a restricted browser, which would open up the
default home page, allow forward and back buttons, but not let the user
type in their own URLs. In other words, users would be forced to stay
on the default website and any links from there.
I'm deciding how to get started on this. It appears that the IE
browser is available as an ActiveX control, but not as managed C# code.
I've heard that OpenNetCF has a managed code browser control.
Basically, I'm just looking for some direction here before I start down
a path. My choices appear to be:
1) C# OpenNetCF
2) C# IE through interop/ActiveX
3) C++/ActiveX native solution
I'm not crazy about the idea of interop, which seems like a square peg
in a square hole... I don't know much about the OpenNetCF control. I'm
an experienced C++ programmer, but I'm developing a taste for C# in a
big way.
Any advice, information or mistake corrections in my assumptions would
be appreaciated.
Thanks in advance
Steve Howard - 13 Jan 2006 12:38 GMT
In my ignorance, I'd just drop a WebBrowser Control onto a form set to
maximize.
Steve
Erwin van Hunen - 13 Jan 2006 13:29 GMT
If you can use the .NET 2.0 CF then you can just use the Webbrowser
control and run it filled on the form. If you can only use 1.0 then the
OpenNetCF would be a perfect solution. Both feature a similar set of
methods and properties.
Both controls work good in C#.
/Erwin
> Hi,
>
[quoted text clipped - 25 lines]
>
> Thanks in advance
Alex Yakhnin [MVP] - 13 Jan 2006 13:57 GMT
Also, if are using a non Windows Mobile device (Pocket PC, Smartphone,
etc...) make sure your device's ROM includes htmlview.dll.
--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org
> If you can use the .NET 2.0 CF then you can just use the Webbrowser
> control and run it filled on the form. If you can only use 1.0 then the
[quoted text clipped - 34 lines]
> >
> > Thanks in advance
Paul G. Tobey [eMVP] - 13 Jan 2006 17:19 GMT
There's an article by Steve Maillet and Mike Hall on this topic on MSDN.
They don't do it with managed code and I don't think that you want to,
either.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnembedded/html
/embedded05072002.asp
Paul T.
> Also, if are using a non Windows Mobile device (Pocket PC, Smartphone,
> etc...) make sure your device's ROM includes htmlview.dll.
[quoted text clipped - 41 lines]
>> >
>> > Thanks in advance