Geeks With Blogs

WinToolZone - Spelunking Microsoft Technologies
I work as a developer on the Common Language Runtime (CLR) team, specifically in the areas of exception handling and CLR hosting.

The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion. All code samples are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Inside and Out... An attempt to understand technology better... VS.NET 2002/2003
Understanding CLR's Special Threads

There are multiple special threads which the CLR maintains and executes. Yun Jin talks about them in his blog at

Must read for those who want to understand CLR better!

Posted On Tuesday, July 12, 2005 9:48 AM

CalendarSP Update
With TechED 2005 India over, I have got sometime to work on the feedback I have got on the various components I have made available at Amongst them was to fix the tab order of CalendarSP - the date picker for SmartPhone 2003 and SmartPhone 5.0 platform. Download the updated control from ......

Posted On Tuesday, July 5, 2005 9:17 PM

Shared Source Bluetooth Library

Check out the shared source Bluetooth class library - Windows Embedded Source Tools for Bluetooth

Posted On Thursday, May 26, 2005 7:47 PM

Screen Shot: Date Picker for SmartPhone 2003...

This is how the managed Date Picker, CalendarSP, looks like (click here for download details):

Posted On Sunday, April 3, 2005 12:48 AM

Managed Date Picker control for SmartPhone 2003 Platform
The .NET Compact Framework lacks a Date Picker control for the SmartPhone development platform. I have written CalendarSP that overcomes this limitation of the .NET CF and is targetted for the SmartPhone 2003 platform.Its free to use and comes with complete documentation.Download it from ......

Posted On Sunday, April 3, 2005 12:07 AM

CERapi - Determine connected device type...
I have added support in CERapi to determine the type of device (PocketPC, SmartPhone, etc) connected to via ActiveSync. The CESystemInformation class has a DeviceType property that will return a CEDeviceType enumeration value which indicates the type of device. The snippet below exemplifies this: CESystemInformation si = rapi.SystemInformation; // Device TypeConsole.WriteLine("You are connected with a {0}",si.DeviceType.ToString... And below is the output for my Typhoon: Download the updated CERapi ......

Posted On Saturday, April 2, 2005 10:12 AM

TIP: Whom are you connected with via ActiveSync?

There's no programmatic way to determine if the Windows CE device connected via ActiveSync to the desktop is a PocketPC or a SmartPhone. If you wish to determine the same, open HKEY_CURRENT_USER\Software\Microsoft\Windows CE Services registry key and lookup the value of DeviceType value. Its a REG_SZ and contains the type of device you are connected with.

Posted On Saturday, April 2, 2005 12:16 AM

Publishing breaking changes..
Whenever you publish a new version of an assembly that has some breaking changes relative to its predecessor version, its an exercise in itself to publish the breaking changes. BradA points to LibCheck, an application used internally for doing the same. Check it here.

Posted On Saturday, April 2, 2005 12:16 AM

CERapi - Using CEFolder and CEFile
CERapi allows you to work with the file system of the Windows CE device and the snippet below shows how easy it is to do the same: // Working with device foldersCEFolder rootFolder = new CEFolder(\\storage\\My Documents);Console.WriteLin... {0}",rootFolder.Path);Conso... Files: {0}",rootFolder.TotalFileCo... SubFolders: {0}",rootFolder.TotalSubFol... // Copy File from desktopConsole.WriteLine("Move C:\\CASDEMO.TXT to device: {0}",rootFolder.MoveFileFro... ......

Posted On Friday, April 1, 2005 11:08 AM

CEFolder and CEFile - Working with the Windows CE device file system using CERapi
CERapi, the managed implementation for Windows CE Remote API (RAPI) has been updated to work with the file system of the Windows CE device. The CEFile and CEFolder classes have been introduced that make navigating the device easy. You can: Get list of files in specified folder Create/Delete folders Create/Delete/Move files Get folder/file attributes File's folder and its name - property Create shortcut to files Find files as per custom search filter Set file attributes Set filetime Launch files ......

Posted On Friday, April 1, 2005 11:06 AM

Copyright © Gaurav Khanna | Powered by: