I found recently than the Validation Error Adorners on my WPF Project when used within a Tab Control, would disappear if I changed tabs. After a little searching, I found this helpful post; http://karlshifflett.wordpress.com/2008/02/19/wpf-validation-errors-disappear-inside-tabcontrol-when-switching-tabitems/ You basically need to wrap your Tab Control Tab Content within a Adorner Decorator as follows; [fusion_builder_container hundred_percent="yes" overflow="visible"][fusion_builder_row][fusion_builder_column type="1_1" background_position="left [...]
A quick tip if your SSMS is slow when using the Open File or Save File Dialog Boxes…. Disconnect any Network Shares which are unreachable.
While using a WPF DataGrid and a CheckBox column I realised that it was taking two Mouse clicks to change the state of the CheckBox. I found a good post by Mike Borozdin which explains how to work around this ‘issue’; http://www.mikeborozdin.com/post/WPF-DataGrid-CheckBox-Single-Click-CheckingUnchecking.aspx Basically, if instead of adding a CheckBox column, you add a TemplateColumn, and [...]
Windows Forms App with Splash Screen Throws–“Invoke or BeginInvoke cannot be called on a control until the window handle has been created.” Exception
I’ve come across a bug in the .Net Framework when developing a Windows Forms app, which has a Splash Screen. On some users machines, the application threw a “Invoke or BeginInvoke cannot be called on a control until the window handle has been created.” exception at startup. This is seemingly to do with code executing [...]
I am currently working on a small console application which takes in a path name via the Command Line Parameters, parses the given path, and produces an XML file listing each folder and file. I am running the application as a Post Build event in Visual Studio, passing in the $(TargetDir) macro as; "c:Program FilesCreateUpdateXMLCreateUpdateXML.exe" [...]