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... April 2005 Entries
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

Developer and Platform Evangelism (DPE) Team at Microsoft India

Snap of the Bangalore team is here.


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

DevCon at Hyderabad
I love the city of Hyderabad and the weekend of 10th April is the DevCon of the Microsoft User Group, Hyderabad. I would be speaking there - do join the community; it will be fun. Registrations are free and can be done at

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

Whidbey Release Team Blog...
Read it at

Posted On Saturday, April 2, 2005 12:32 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: