Still trying to use pocket IE component

  • Thread starter Thread starter felix
  • Start date Start date
F

felix

Hi,

so far I've built a small browser with .Net 2.0 (pretty big install) and
OpenNetCF (about 1.3MB).
The OpenNetCF versions seems to need OpenNETCF.Windows.Forms.dll + xml
OpenNETCF.dll + xml and Microsoft.WindowsCE.Forms.dll + xml.
Which makes sense, but 1.3MB is still quite some overhead compared to
the shdocvw.dll I can use on WinXP without problems.

So my question is: Why is it so easy to include the shdocvw.dll in a
WinXP project seemingly so hard to do something like that on PPC?
As far as I understand it there is an IE component which can be used on
PPC. Is there some easy way to add it to my .Net 1.1 CF project and
simply dragging it on the form?

Any advice would be appreciated! :)

bye,
felix
 
In .NETCF v1.0 there isn't a control in the framework to just use, and since
there is no COM interop you can't the platform webbrowser control directly.
Pocket IE exposes the Html Control as a windows class and the OpenNETCF
control wraps this. Of the files you list you don't need to deploy the xml
files to your device, these are only used on the development machine to
provide descriptions in the intellisense and object browser.
In .NETCF v2.0 there is a WebBrowser control included in
System.Windows.Forms - yes you can just drag this to your form from the
toolbox. The OpenNETCF control was designed to work as similar to this as
possible to make a smooth transition to .NETCF v2.0

Peter
 
Thanks Peter, size went down to about 600kb. Got rid of the .xml files
and added OpenNETCF.Drawing.dll.

Just to clear that up, I would basically have to write my own wrapper,
to use the PIE control directly. Seems to be quite some work from
looking on the opennetCF code.
You mainly have to handle input/output and events, right?

bye,
felix
 
Back
Top