Using Windows Phone As Windows 7 Accelerometer Sensor

Saturday, August 13, 2011

I just had a cool idea! (actually I had it like 6 month ago, but bear with me). My idea involves mixing some of the features in Windows 7 with some of the features in Windows Phone 7, to create a glorious mix!   Windows 7 One of the new features in Windows 7 is the Sensor API which provides a standard interface for accessing sensors of various types, like accelerometer, etc.. I wrote in the past about how you can consume this API from a C# application using Windows API Code...

Windows Ribbon for WinForms: FAQ

Wednesday, July 6, 2011

While working on the Windows Ribbon Framework I’ve came across many repeating questions from users. So I’ve decided to write a Frequently Asked Questions post regarding the Windows Ribbon Framework and its wrapper Windows Ribbon for WinForms. The questions were collected from the Windows Ribbon Development forum, Windows Ribbon for WinForms Discussions and from comments posted on my blog.   What are the supported platforms for the Windows Ribbon Framework? The Windows Ribbon Framework is only supported on: Windows 7 Windows Vista with Service Pack 2 (SP2)...

C# Library for Grammar and Spell Checking

Wednesday, June 8, 2011

Introduction I recently had the idea to create a plug-in for Windows Live Writer that will provide grammar checks in addition to the built-in spell checks. As I’ve showed before, creating plug-ins for Windows Live Writer is easy, the problem was to get the code for doing the grammar checking. I’ve found this wonderful site named “After the Deadline” that provides a web based API for both grammar and spell checking, free for non-commercial use! The site also provides several wrapper libraries for using these APIs. Unfortunately, C# (or any other .NET language)...

A Customizable WPF MessageBox

Thursday, May 26, 2011

Recently I came across the need to customize the look of the standard message box in the application. To do this I’ve decided to create a new class named WPFMessageBox, which will have the same interface as the standard one, will behave the same way and finally would be fully customizable, the WPF way, using control templates. Following is the result of this effort. Note: In the image you can see an example for a message box customization. Of course you are limited only by your imagination. The default control template looks like the standard...

Windows Ribbon for WinForms v2.6 Released

Monday, November 8, 2010

The Windows Ribbon for WinForms is a ribbon control designed to be used with WinForms applications. Yea, I know, WinForms is so last year, but it turns out people still use it and keep asking for features and bug fixes.. Anyway, it is a managed wrapper around Windows Ribbon Framework, provided by Microsoft in Windows 7 and Vista. More details on this project can be found in the project site: . So, what’s new? Simplified use for the Ribbon control. Simply...

Fix CodePlex Error: Repository UUID ‘XXX’ doesn’t match expected UUID ‘YYY’

Friday, August 6, 2010

About a month ago, CodePlex have upgraded their TFS servers to to TFS 2010. While this transition was supposed to be invisible to users who connect using the SVN interface, it wasn’t. The Problem This is what I got while trying to update a project which resides on CodePlex, using AnkhSVN plug-in. Or in a search-engine friendly way: SharpSvn.SvnException: Repository UUID 'XXX' doesn't match expected UUID 'YYY'    at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets)    at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t*...