In many places in our application we have code like this:
using(RAPI rapi = new RAPI())
{
bool connected = TryToConnectWithTimeout(rapi);
if(connected)
DoSomethingWithRapi(rapi);
}
This has worked well so far.
We never have more than 1 rapi instance at a time. Until now:
But now we want to listen for the connect event on rap...
I am using the Signature control in OpenNETCF. It works great for most everything I need.
However, I need a way invert the signature and load it back in.
It has a call to get the "bytes" for the signature (GetSignatureEx()). It returns a byte[] of the signature. This signature can then be loaded back in with LoadSignatureEx().
I ca...
Anyone know how to access HTTP POST data in the Padarn web server? They wrote the POST data will be in Request.Form, but there is always nothing.
...
Does anyone know how I can read the SMS on my windows mobile 6 phone?
I would like to do this in C#.
I'm currently doing this with InTheHand:
foreach (InTheHand.WindowsMobile.PocketOutlook.SmsMessage mess in sess.SmsAccount.SentItems)
{
if (mess.Received.Year == thisYear && mess.Received.Month == thisMonth)
...
I'm currently reading the messagestore with InTheHand,
but I want to do this with OpenNetCF.
Can someone post any samples?
Here is how I do this with InTheHand:
foreach (InTheHand.WindowsMobile.PocketOutlook.SmsMessage mess in sess.SmsAccount.SentItems)
{
if (mess.Received.Year == thisYear && mess.Re...
I have a application that runs on touch enabled device with WinCE 3.5 OS. I have a show player control to display adds when the system is left idle for some configured amount of time..
So the DirectShowPlayerControl will be iniated every time the show player is launched and will be destroyed when it is closed...
The player for the firs...
I am trying to use the code in this article that lets you know when your app is idle..
This code works great if your application has only one form. You call Application2.Run(myOnlyForm) on it and all messages get routed through the filters in Application2.
However if at any point you call mySecondForm.ShowDialog() that dialog does not...
Hi,
I have a WM 6.1 Prof. application that checks updates when user wishes to do so.
I want to check if there is any avaliable connection (GPRS or Wifi) before it attempts to connect to server.
I am also using openNETCF.NET dll here is what I have done but it doesn't work everytime,
also I am not sure which type of connection should ...
I have a compact framework application that needs to be start hidden with Windows. So i created a shortcut in the Startup folder. The application starts fine but to my amazement despite i did a this.Hide() on the constructor of the form, it still shows.
So i searched and found out that Application.Run() will ALWAYS show the window but ...
Whenever I am subscribing to FileSystemWatcher notification, multiple events are occuring when I create new file or change existing file. Events are occuring in following sequence:
New File
Created
Changed
Changed
Changed
Changed
Changed
Changed
Change
Changed
Deleted
Changed
Rename
Renamed
Delete
Deleted
Rename and Dele...
I've started playing with the OpenNETCF Framework to capture information related to the WiFi connection available on the device I am writing an application for. I found a very usefull example at http://msdn.microsoft.com/en-us/library/aa446491.aspx but found that:
a. I could not get the MAC address for the AP I was currently connected t...
Hello,
I have code below which has been working on devices of type Windows Mobile 5 and 6.1
private const string OwnerSubKey = @"ControlPanel\Owner";
regKey = CERegistry.CurrentUser.CreateSubKey(OwnerSubKey);
When I have a 6.5 device cradled and the debugger hits the line above, I get
"Type:
System.Runtime.InteropServices.ExternalE...
We have a .Net compact 3.5 application running on windows mobile 6.1 platform. We run it on Intermec CN50 PDA.
Today we encountered a weird problem. The bar code functionality stops working after we logged in our application for no reason. Even weirder, the bar code functionality will stop working with ALL other apps after this even aft...