Geeks With Blogs


Vitaly Dilmukhametov hint
Windows Phone 7 TextBox style margin issue
I just found an interesting behaviour of Windows Phone 7 TextBox default template. When TextBox is disabled, inner text is rendered with margin: To reproduce it, create new Silverlight WP application and add following XAML inside default grid named “ContentPanel”: <StackPanel Margin="0,12,0,0"> <StackPanel.Resources> <Style TargetType="TextBlock"> <Setter Property="Margin" Value="25,0,25,0"/> </Style> <Style TargetType="TextBox"> <Setter Property="Margin" Value="33,0,13,0"/> ......

Posted On Tuesday, December 25, 2012 12:13 PM

[Solving]: FXC.exe shader compiler “…exited with code 1”
Recently I found interesting “feature” of fxc compiler (it’s a part of MS DirectX SDK). When you try to compile shaders, and path to source code contains non-Latin characters, you’ll get error like following: Error 1 The command ""%DXSDK_DIR%Utilities\bin\... /T vs_2_0 /O3 /Zpr /Fo "f:\????????\SilverlightApp... "f:\????????\SilverlightApp... "%DXSDK_DIR%Utilities\bin\x... /T ps_2_0 /O3 /Zpr /Fo "f:\????????\SilverlightApp... ......

Posted On Wednesday, August 10, 2011 10:10 AM

MS Office 365 – custom domain without MS name servers
I purchased Office 365 subscription recently, and wanted to bind my own domain, because wanted to use e-mail address like If you want to use custom domains, manual page suggest to change name server records for your domain to and After doing this you can use aliases with your domain for Exchange mail and Lync. If you don’t want to change by any reasons name servers for your domain, just go through steps: 1) open ......

Posted On Tuesday, July 19, 2011 1:18 PM

[VS2010]: C# statement collapsing
If you need to explore big amount of another’s C# code, C# outline add-in may be helpful. It allow you to collapse statements between { and }. Here is a sample screenshot: This add-in available for Visual Studio 2010. Also, it’s not compatible with some other plugins like Presentation Zoom – outline nodes displaces, if both installed ......

Posted On Thursday, June 23, 2011 11:09 PM

HSLS syntax highlight in Visual Studio 2010
Visual Studio 2010 is not support built-in syntax highlight for HLSL, and I found great soultion – NShader – HLSL\ GLSL \ CG - Shader Syntax Highlighter add-in for Visual Studio. And now editor window with loaded *.fx file looks like following: NShader support VS 2008 and 2010, and it’s free. Another way to get syntax highlight is to set VS for opening *.fx in Notepad++ (with one of HLSL language definitions, it hasn’t built-in support). I like to stay inside Visual Studio, so I prefer NShader :) ......

Posted On Friday, May 13, 2011 12:26 PM

Copyright © Vitus | Powered by: