Categories
Beta NETCF

Building the Latest SDF v1.3 Source

We get a lot of requests asking for the very latest code for the SDF since tons of exciting stuff has been added (and many issues resolved) since our v1.2 release last year specifically from users starting to work with the VS2005 betas and community previews and would like to use the SDF with these […]

Categories
NETCF

Control and Component Designers Part Three – Extending Existing Controls

Using these techniques it’s possible to extend existing controls and add attributes to improve their designer experience. To illustrate this I’ve taken the example of the ComboBoxEx control. This extends the ComboBox control by overriding runtime behaviour to overcome a data binding issue, and adds BeginUpdate and EndUpdate methods to improve performance when filling the […]

Categories
NETCF

Control and Component Designers Part Two – Hanging the Decorations

How the designer interprets your components is from a mixture of reflection to actually see what properties you expose, but also attributes which allow you to override this behaviour. The first attributes which are required for any component to appear in the toolbox are:- #if DESIGN[ToolboxItemFilter(“NETCF”,ToolboxItemFilterType.Require),ToolboxItemFilter(“System.CF.Windows.Forms”, ToolboxItemFilterType.Custom)]#endif This ensures that the component only appears on […]

Categories
NETCF

Control and Component Designers Part One – Building for Design Time

Introduction When developing desktop .NET forms projects the toolbox contains a number of components you can drag across to your form and setup via the designer. A component in this case is any class which inherits from System.ComponentModel.Component. Visual Studio generates the appropriate code for you, in just the same way as forms controls except […]

Categories
Oddities

Alternative View of Express Products

Thanks Bill for this excellent link – an alternative view of the Visual Studio Express products target audiences. Check it out (but don’t take too seriously!):- http://www.atrevido.net/blog/PermaLink.aspx?guid=fc395650-88e9-4f9a-82cc-3f1ceebdfc3f

Categories
NETCF

Determine Current GSM Network

This VB.NET code will work on Smartphone and Pocket PC Phone devices and return details of the current GSM operator (though it probably works on CDMA also). It relies on Alex Feinman’s excellent TAPI wrapper whish you can download here. Using the library we create a line object which we pass the handle of (line.hline) […]

Categories
Events

MEDC Worldwide Dates Announced

The latest information on the MEDC2005 front is a list of dates and venues for the worldwide MEDC events which will follow the main MEDC conference in May. So far the following events have been announced:- Korea (TBA) – 19th-20th May Germany (Berlin) – 6th June France (Paris) – 8th June UK (Microsoft Campus) – […]

Categories
NETCF

FolderBrowserDialog for Windows CE

To follow up from a recent enquiry on the newsgroup, neither .NETCF v1.0 or v2.0 include the FolderBrowserDialog component. The main reason for this is that this functionality is not implemented in all flavours of Windows CE, for example Windows Mobile (Pocket PC / Smartphone) doesn’t include support for this dialog. If your device does […]

Categories
Windows Mobile

Open individual documents on Pocket PC

The built in applications in Pocket PC follow a familiar model with a DocumentList screen listing files of that type, and then an “editor” screen for working with an individual document. If you launch a specific document programmatically it will open direct to that document, but when you close the app will continue to run […]

Categories
Bluetooth Desktop Code NETCF

Bluetooth Remote Control

Mike Hall posted a link on his blog to a channel9 interview with Anil Dhawan from the Windows Mobile team discussing Bluetooth programming, which I recommend you check out. Anil gave a demo of a native code application to remote control PowerPoint on a desktop PC. This inspired me to put some finishing touches to a […]