Enabling MS SQL Extensions in WAMP

While working on a problem recently, I needed to enable the MS SQL extensions in WAMP. It turned out to be more complicated than simply hitting the checkbox in the Extensions menu… I found this great post which explained the process.. http://forum.ragezone.com/f724/get-wamp-work-mssql-673301/ The basic Idea is; Download ntwdblib.dll: HERE Click on the WAMP icon -> [...]

By |2013-01-24T17:26:00+00:00January 24th, 2013|SQL Server, Tips, WAMP, Web|0 Comments

MVVM WPF Validating multiple items together

In an application I am developing, I required that two checkboxes be validated together, when either one of them were clicked. I also needed to only show the Validation error once in my Error Message Box. To achieve this we first call the OnPropertyChanged routine, which in turn raises the PropertyChanged event, for each linked [...]

By |2017-03-25T07:46:17+00:00January 7th, 2013|.Net Framework, MVVM, Tips, Validation, VB.net, WPF, XAML|0 Comments

Adding EF5 POCO’s to TFS Source Control

While attempting to build my TFS based solution, the build failed reporting that it couldn’t find my EF5 POCO Classes. After some digging around it seems that these files aren’t automatically included under TFS Source Control. In order to enable this (For VS 21012), we must perform the following actions; 1. Open the Team Explorer [...]

WPF – Restricting Text Entry to Numeric Characters, the MVVM Way

I needed to Limit several TextBoxes in my WPF MVVM application to only allow Numeric Characters. I stumbled upon a very useful post by Jermey Likeness which described a method using Attached Behaviours, which worked well for me; http://csharperimage.jeremylikness.com/2009/10/silverlight-behaviors-and-triggers_07.html I modified this code slightly to allow for Decimal point control also. The VB.net Code is [...]

By |2017-07-24T08:33:18+01:00January 1st, 2013|.Net Framework, MVVM, Tips, VB.net, WPF|0 Comments

Setting Control Focus… The MVVM Way…

I needed to be able to set the Focus of a control, using MVVM. This means of course, that we can’t interact directly with the View, but instead must rely on Binding. I found a very helpful post by Khalid Rafique which allows exactly this; http://codenicely.blogspot.co.uk/2012/01/how-to-set-textbox-focus-in-silverlight.html By making use of attached Interactivity Behaviours, we can [...]

By |2017-07-24T08:33:18+01:00January 1st, 2013|.Net Framework, MVVM, Tips, VB.net, Visual Studio, WPF|0 Comments