[HowTo] LINQ filter : Ignore accented letters (Diacritics) in string comparison ?
Here is a small extension method that will do the job (Warning : do not use for Linq To Sql): public static string RemoveDiacritics(this string text) { string formD = text.Normalize(NormalizationForm.FormD); StringBuilder sb = new StringBuilder(); foreach (char ch in formD) { UnicodeCategory uc = CharUnicodeInfo.GetUnicodeCategory(ch); if (uc != UnicodeCategory.NonSpacingMark) { sb.Append(ch); } } return […]
Visual Studio 2012 Color Theme
First thing first, here is the tool : http://visualstudiogallery.msdn.microsoft.com/366ad100-0003-4c9a-81a8-337d4e7ace05 Install via Extension Manager (Tools/Options) Install via Visual Studio Gallery.com (download and open directly or save then double-click) Install via “xcopy” into %appdata%\Local\Microsoft\VisualStudio\10.0\Extensions For Visual Studio 2012 Express, check this link : http://alinconstantin.blogspot.be/2012/09/using-color-themes-with-visual-studio.html How to change Icons : http://vsip.codeplex.com/
[HowTo] Convert a Text Box to a Frame in Word
http://www.fanhow.com/knowhow:Convert_a_Text_Box_to_a_Frame_in_Word_32373524 http://www.extendoffice.com/documents/word/932-word-convert-text-box-to-frame.html
Clean up Winsxs on Windows 7/2008 R2 after SP1 install
Run (as administrator) the command prompt and type : dism /online /cleanup-image /spsuperseded The worst offender was the Winsxs directory. To read more about what Winsxs actually does, go here. More : @Happy SysAdmin @Alan’s sysadmin Blog
Probleme de OLEDB et JET 4.0 sur machine 64Bits
http://blog.nkadesign.com/2008/windows-2008-the-microsoftjetoledb40-provider-is-not-registered-on-the-local-machine/
Change the device name of a wondows mobile 6.5
Settings -> About -> device id tab, then change the name… and that’s it. Source : Jason Langridge’s WebLog
Battery Life Matters
Some articles about power management under pocket pc devices. Pocket PC Power Management Series 1: the Challenge to Developers Pocket PC Power Management Series 3: When is My Device Sleeping, and when is it Running? Pocket PC Power Management Series 9: Battery Life Matters
SQL Compact data and schema script utility
When using a “normal” MsSql database (whatever the version), the management tool allow us to create a “database generation script”. This option does not exists for SqlCE Databases (soooo sad). Here is a little third-party tools that woes the trick… http://exportsqlce.codeplex.com/ Among creating “scripts”, the add-in adds the following menu items to the table context […]