Categories
NETCF

SQL Server Compact Edition – Coming Tomorrow

Excellent news from the SQL Server Everywhere blog (those guys need to change the name of their blog again :-)). Tomorrow the runtimes and tools for SQL Server Compact Edition will be released to the web. It will replace the RC1 download so the link will remain the same:- http://www.microsoft.com/downloads/details.aspx?FamilyID=85E0C3CE-3FA1-453A-8CE9-AF6CA20946C3&displaylang=en  

Categories
NETCF

Make Individual TreeView Nodes Bold

The full framework TreeView control supports setting a Font on a per-node basis, the Compact Framework control doesn’t support this, however with a little interop magic you can mark individual nodes as Bold. Because the .NETCF v2.0 TreeView control exposes it’s own window handle, and each TreeNode also exposes it’s handle, we have all the […]

Categories
NETCF Windows Mobile

Using MessageInterceptor to launch an application on SMS

First things first a disclaimer, the following code is written for Mobile In The Hand (Professional Edition), it does apply equally to a Windows Mobile 5.0 project with the Microsoft.WindowsMobile managed APIs, you’ll just need to change the namespaces and assembly references. A normal MessageInterceptor is valid only for the lifetime of your application, once […]

Categories
NETCF

Bug in GAC Installation from VS2005 Device CAB Projects

I recently ran into a problem with a Smart Device CAB Project in Visual Studio 2005, which as it turns out is a known issue. You can build a CAB file which will register your .NETCF dlls into the GAC – the File System Editor has a standard folder called “Global Assembly Cache Folder” which […]

Categories
NETCF Windows Mobile

SelectPictureDialog.LockDirectory property

If you refer to the original Windows Mobile 5.0 documentation (or the Intellisense) when using this component you’ll notice it has a property called LockDirectory which is supposed to prevent the user from browsing outside of the folder you specified in InitialDirectory. To cut a long story short this property is not implemented and setting it […]

Categories
Bluetooth NETCF

32feet.NET Reaches v2.0 Milestone

Although it took a lot longer than I originally anticipated I’ve finally put the finishing touches to v2.0 of the 32feet.NET library. v2.0 is a major re-write of the code so that the single codebase can be built into separate dlls for desktop or device. This was primarily to get around the bug in the […]

Categories
NETCF

Windows Mobile Context Menu Behaviour On Windows CE

Although many Windows CE devices include the aygshell.dll component which offers some functionality available in the Pocket PC shell, it’s not directly taken advantage of by .NETCF. For example, when you add a ContextMenu to a control in a Pocket PC project you automatically get tap-and-hold behaviour on the control. Run the same code on […]

Categories
NETCF Windows Mobile

Disable the Touch Screen

If you really need to disable the touch screen on a device, there is a method available, but you’ll need to soft-reset the device to restore the functionality. You can call the TouchPanelDisable API, it’s not documented in the Windows Mobile SDKs but you’ll find it in the CE documentation, declaration is very simple:- <System.Runtime.InteropServices.DllImport(“touch”)> […]

Categories
NETCF

SQL Mobile Access Sync Coming Soon

For a while the migration path from Pocket Access to SQL CE / SQL Mobile has been missing a key piece of functionality which many Pocket Access applications relied on – the Synchronisation functionality in ActiveSync which synchronised with an Access database on the PC. Today we have some good news from the SQL Mobile […]

Categories
NETCF

Take a Shortcut

There are a number of ways you can make use of Shortcuts within your project. You may create a shortcut to your application during your CAB file installation – either on the Start Menu or perhaps in the WindowsStartup folder. VS2005 makes this easy because it has a nice file system graphical editor for CAB […]