Microsoft Web Browser in Windows CE Form  
Author Message
Robin Samways





PostPosted: Smart Devices VB and C# Projects, Microsoft Web Browser in Windows CE Form Top

Hi all,

I am very new to Windows CE programming, and I would like to know how to create a new Smart Device Application that will basically have a browser window contained inside of a form.

I'm not really sure what terminology I need to use to explain this better, but what I am trying to accomplish is a form exposing a browser window to use an internal web-based application. The idea is to "kiosk" the web page in a way that keeps users from being able to navigate outside of the application.

Any "well-written, step-by-step, fully explained" tutorials would be greatly appreciated.

Thanks..
Robin..



Smart Device Development18  
 
 
Alex Feinman





PostPosted: Smart Devices VB and C# Projects, Microsoft Web Browser in Windows CE Form Top

Compact Framework 2.0 includes a webbrowser control that you can use. Search this forum for "Kiosk" for advice on creating Kiosk-type applications. In general such things are best done using shell-less custom Windows CE devices although there are techniques that allow implementing this on a regular PPC. The bottom line is to make your form maximized, topmost (properties) and handle Deactivate event by setting the focus back to the form

 
 
mmohan





PostPosted: Smart Devices VB and C# Projects, Microsoft Web Browser in Windows CE Form Top

I am having great difficulty trying to get even a simple basic webbrowser class to do anything.

In VS2005 targetting a Windows CE 5.0 device using.

I create a Form1 which has one WebBrowser control.

namespace htmlbrowser

{

public partial class Form1 : Form

{

public Form1()

{

InitializeComponent();

}

private void Form1_Load(object sender, EventArgs e)

{

webBrowser1.DocumentText= "<HTML><BODY>Test.</BODY></HTML>";

}

}

Application runs without any exceptions on my target but I all I see is the webbrowser with white background.

My taget has IE, PegHelp and they work fine.