To start Internet Explorer in code (C# in this case), you will use the System.Diagnostics.Process class.
Notice that the name of the IE executable on Windows CE is “IESample.exe“.
You have developed an application for the CUWIN5500 and installed the application in a directory within the Root – For example: “\Program Files\MyApp”. However, your directory (i.e. “…\MyApp” and all of its contents goes away every time you boot the device.
How do you get the data to persist?
On the CUWIN, there are two ways to persist data –
- Adding information to the Registry and then saving the Registry via the “SaveRegs” application (located at “\Windows\SaveRegs”)
- Saving the data to the “\Flash Disk” (or any external media such as the SD card). When saving data to the Flash Disk, the CUWIN automatically persists that data.
At the time of this writing, I don’t know how to persist the data via the Registry method. I will update this post if I ever get around to it. The fact of the matter is, in my case, saving my data to the Flash Disk (and SD card) is all I need so I really have no motivation to learn the Registry method.
You built an application (.exe) for a CUWIN5500 and now you want the application to start automatically after the device boots up.
- On the CUWIN, go to “\Flash Disk” and then create a folder named “AutoRun”
- Move your application (.exe) to the AutoRun directory
- Turn on the CUWIN dip switch #2 (Dip switches #1 and #2 should be ON and all dip switches set to OFF)
- Reboot the CUWIN device
- Your application should automatically run
This video is a simple example on how to connect to a Dataset in a Smart Device application.
This example uses:
Visual Studio 2008 Pro