compact-framework

Best way to manage network state in Windows Mobile

I have a .NET Compact Framework 3.5 program that is used as a 'Occasionally Connected' line of business (LOB) application. If it can see an online webservice, it will use that for data access, but if network connection is lost it will use a local cache. What is the best way to handle all of the connection options and state changes? ...

Any competitors to db4o on compact framework?

We've been trying db4o for persisting objects on the compact framework. It works very well from our tests so far. However, it appears they are on the expensive side for small startups with minimal units needed. Does anyone know of any similar object databases for the compact framework? How about a open source one that is free for comme...

Can I read stored SMS entries on my Windows Mobile phone from a .NET CF application?

Looking at writing an application using the .NET Compact framework to extract SMS messages on my Windows Mobile phone. I basically want to be able to export the stored message in the inbox so that they could be imported to Excel or some other program for formatting and storage. In my personal case, I have a Treo 700w. I've written som...

Can you include condition-checking code in a format string?

I have a custom control which is part of a list. The text that it should display is set by assigning a value to its Text property. At runtime, this text is loaded from a database. I want to prepend this text with the string "Toelichting: " (Dutch for "Explanation"). I can accomplish this by setting the FormatString property of the contro...

Compact Framework: Failed to use InputPanel in a control

I developed a control that uses the PDA's InputPanel to interact with the user. The relevant part of the code is below: namespace MyNamespace { // ... using Microsoft.WindowsCE.Forms; // ... public class MyControl { // ... public InputPanel MyPanel { get; set; } // ... } } When...

Does Windows Installer XML support CE installation files?

I want to know if Wix supports the CE platform. ie based on a list of components to produce a cab file that can be installed on Win CE and/or Win Mobile ...

WCF on PocketPC, not connecting to host machine

I'm working with a PocketPC vm for development over here. I can get the virtual device to connect to the internet, but I can't get it to connect to a web service on my local (host) machine. I've tried the machine name and my IP address, different ports, but no luck. Anyone else have this issue? EDIT: I have an actual device at my ma...

NETCFv35.Messages.EN.wm.cab?

In the .NET Compact Framework 3.5 exceptions by default don't have their actual error message string installed. Great for cramming the compact framework into windows mobile devices with less memory, but not so great when you're a developer and something goes wrong on the device. From the default placeholder message I know there is a CAB...

Set Device Time on .NET CF

Looking for a code sample that takes a .NET CF DateTime object, and sets the device's date and time to that date (and/or time zone). The purpose of this is to get the current "real" time off of a server via web service and set the device's time correctly. Anyone done this before? ...

Windows Mobile .NET Compact Framework

Is there any way, how to make Windows Mobile applications using WPF? If not, what book would you recommend for .NET Compact Framework 3.5 (C#)? ...

Where is Message defined in .Net, using the Compact Framework?

Should be an easy question, so don't all pile on - I'm trying to override WndProc like this: using System; using System.Collections.Generic; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; snip... public class GTextBox : ...

Detect Finger Swipe in .Net Compact Framework

Looking for a way to detect finger gestures in my Windows Mobile applications. Main goal: detect when user gestures a left or right swipe across the screen. Similar to the swipe motion used to unlock an iPhone. ...

Windows CE date-time synchronization with Windows Server 2003.

My application (compact framework) works on Windows CE. The "cold boot" of the device resets the systemtime. Is there any way to synchronize systemtime with Windows Server 2003 (IIS) or using a merge replication on SQL Server 2000. I have a counted column in one of the datatables which counts current time but this row is somehow impossi...

Is there a good list of things left out of the Compact Framework?

I'm looking for a list of things left out of the Compact Framework, so I don't have to stumble over each one. For instance, I've just discovered the Message struct is not directly available. No big deal, but I spent an hour thinking I had done something wrong, since all the compiler says is "Are you missing a using statement?". ...

how to make a mobile application stay on top ?

I am developing a mobile application for Windows Mobile. I would like that the application is lauched by default by the system at startup and that users cannot minimize it. So only this application is available, all other features are disabled. I m sure that I could define a launcher, which is executed at startup. But some problems c...

HMACMD5 in .net compact framework

How to implement HMACMD5 algorithm in .net compact framework. ...

Samsung WiTu (i900/Omnia) mobile phone program

I want to write a simple C# program that will be activated on incoming call to display a text on the phone screen. Just a simple C# program activated by an incoming call. Any ideas how I can get started? ...

Are there any good workflow libraries for the .NET Compact Framework?

I'm looking for a tool or library that will allow me to created a declarative workflow for a Compact Framework application. It will need to handle screen flow and some business processing tasks. It seems like there ought to be something out there, but I can't find anything. ...

Anything like DPAPI available for .NET Compact Framework or Windows Mobile?

I need a way to protect a private key on a mobile device. I know in "Writing Secure Code" chapter "Protecting Secret Data" says "Windows CE" cannot be used in secure environments. But the book is many years old now, 2003. Is this still the case? Tell me it ain't so. There has to be a way to secure a private key today. ...

How to Auto-Update Windows Mobile application

I have a .net cf 3.5 Windows Mobile application that my client wants to have autoupdate features. Here is what I have so far: create a CAB using the Smart Device CAB Project (is this good enough, or should I be doing something else here) 2.Get the application version number Assembly.GetExecutingAssembly().GetName().Version.ToString...