.NET Compact Framework

A collection of .NET Compact Framework information from a C/C++ programmer
C#: My World Clock
Download World Clock Source I have been working on cleaning my office of 8 years of stuff from several engineers working on many projects. It turns out that we have a few extra single board computers with displays, so at the end of the day last Friday I though why not create a little application to display the time, you know, a clock. How difficult could that be? It turns out that it is quite simple – until I decided to gold plate the project by adding time displays for our offices around the world. ......

Posted On Thursday, October 25, 2012 2:14 PM | Comments (2)

Windows CE: C# Application to Format TFAT
Windows CE: C# Application to Format TFAT In Windows CE: Formatting TFAT I show how to format a disk with TFAT using C/C++ code. The customer that I wrote that for develops using C#, so I wrote a C# application to test the formatting code. To me, most formatting tools are just too difficult for the average user. In this case, the user will be someone working in the factory or field service. They just need to select a disk and request that it be formatted. The application dialog look like: It has ......

Posted On Monday, August 30, 2010 10:34 PM | Comments (3)

Windows CE: Using RAPI to Run Applications (Part 3)
The CERunApp application can be downloaded from: Download CERunApp.exe The CERunApp source code can be downloaded from: Download CERunApp source code In Windows CE: Using RAPI to Run Applications (Part 1) and Windows CE: Using RAPI to Run Applications (Part 2) I wrote about using RAPI remotely start applications on a Windows CE device from a workstation. In Windows CE: Using RAPI to Run Applications (Part 2) I presented an application, CERunApp.exe, that downloads an application from the workstation ......

Posted On Thursday, December 10, 2009 3:06 PM | Comments (1)

Windows CE: Using RAPI to Run Applications (Part 2)
The CERunApp application can be downloaded from: Download CERunApp.exe Note: in Part 3 I have included an updated version of this exe The CERunApp source code can be downloaded from: Download CERunApp source code Note: in Part 3 I have included an updated version of the source code In Windows CE: Using RAPI to Run Applications (Part 1) I wrote about starting this project to create a copy of the Windows Mobile Developer Power Toys application RAPIStart. In this article I will continue by creating ......

Posted On Friday, October 30, 2009 3:24 PM | Comments (4)

Windows CE: Simple Little Registry Editor
The Simple Little Registry Editor can be downloaded from: Download Simple Little Registry Editor I recently decided that it was time to write my own registry editor. I wrote this for my own needs, but am making it available to you. My requirements are simple: 1. Be able to view the registry on a Windows CE device without being attached to another computer, so the Remote Registry Editor won’t work. 2. Need to support multiple CPU families – so this targets the .NET CompactFramework version 2. 3. Be ......

Posted On Monday, July 27, 2009 7:56 PM | Comments (83)

C#: Deleting a Registry Key
I decided last weekend to write my own RegEdit for Windows CE using the .NET CompactFramework. It turned out to be a fun little project, but I ran into a lot of trouble deleting Registry Keys. I used some sample code from a book to get started on this project, which was the root of the problem. The main problem that I ran into was that when I tried to delete a Key, the code raised an UnauthorizedAccessException. Being fairly good at searching for information, I started searching the Internet in general, ......

Posted On Sunday, July 26, 2009 10:39 AM | Comments (0)

C#: My Picture Frame Application
The Picture Frame source code can be downloaded from: Download the Picture Frame Source Code As promised here is the source code for my Picture Frame application. For a desciption of how I wrote this see Why this C/C++ programmer struggled with writing a simple C# application This application runs full screen, although I haven’t spent any time or thought into hiding the task bar since I run it without the Explorer shell. It then displays JPEG or BMP files found in the root folder of either \Storage ......

Posted On Wednesday, August 6, 2008 9:24 PM | Comments (0)

Why this C/C++ programmer struggled with writing a simple C# application
As a developer of single board computers, we at Eurotech Inc, have some single board computers lying around the office, and a few LCD panels. I thought that it might be fun to put one to use as an electronic picture frame. My goal is to hang it on the wall to show picture of some of the work that we do. This is also an opportunity to work on my C# skills. I am not an application developer, so of course I am no expert on the .NET Compact Framework or C#. I have been working with C# to maintain an ......

Posted On Tuesday, August 5, 2008 10:49 PM | Comments (4)