NETCF
-
Contact.WebPage
The Managed APIs in Windows Mobile 5.0 expose the Contact.WebPage as a Uri. The problem with this approach is that the user forms are free text and you can enter anything into this field. Probably 9 times out of 10… Continue reading
-
OpenNETCF.Windows.Forms.Control2 in SDF 2.0
In SDF v1 I wrote a class called ControlEx which would allow you to host a native windows control within a managed Control. This was the subject of an MSDN article (of which much of the concept applies here too).… Continue reading
-
OpenNETCF.IO in SDF 2.0
As well as the revolutionary changes in the SDF v2.0, some of which are simply only made possible by improvements in .NETCF v2.0, we have used this opportunity to make a number of evolutionary changes too. For example I’m going… Continue reading
-
GetDeviceUniqueID For VB
To complement the C# version posted Here, here is a working VB translation:- <System.Runtime.InteropServices.DllImport(“coredll.dll”)> _Private Shared Function GetDeviceUniqueID(ByVal appdata As Byte(), ByVal cbApplictionData As Integer, ByVal dwDeviceIDVersion As Integer, ByVal deviceIDOuput As Byte(), ByRef pcbDeviceIDOutput As Integer) As IntegerEnd FunctionPrivate… Continue reading
-
Determine WM5.0 AKU Version Programmatically
The full build and AKU version of a device is shown on the Start > Settings > System > About screen, however what if you want to determine the version from your code. Well starting with Windows Mobile 5.0 there… Continue reading
-
KeyboardPresent always returns false
This bug affects both managed and native developers working with the Windows Mobile 5.0 SDK. Native Due to an error in snapi.h the location of the registry key used to indicate if a hardware keyboard is present is incorrect:- //////////////////////////////////////////////////////////////////////////////////… Continue reading
-
Bug in Microsoft.WindowsMobile.Telephone.Phone.Talk
Luis Cabrera has posted the details of a bug identified in the Talk method to the Windows Mobile Team blog. The workaround (see the original post) is to append a null character to the end of your dial string. Note: this bug… Continue reading
-
PocketOutlook Native Managed Map
Windows Mobile 5.0 introduces a managed API which wraps both POOM and a subset of CEMAPI (enough to send an Email / Sms). The table below is designed to show how the managed objects map to the interfaces which will… Continue reading
-
XmlSerialization of DateTime in .NETCF 2.0
Changes have been made to the DateTime type in v2.0 to help indicate whether a specific value represents a local time or universal time. What this can mean is that the behaviour of web services using DateTimes will change. This… Continue reading
-
Issue with Microsoft.WindowsMobile.PocketOutlook.RecipientCollection.Add()
When you want to create a meeting request with managed POOM on WM5.0 you start by creating an Appointment and then add Recipient objects to it’s Recipients collection. However what the documentation doesn’t tell you is that you have to… Continue reading