Sander van Vliet
Land Rovers, .Net en meer!
Land Rovers, .Net en meer!
21 apr
Currently I’m busy with converting a .Net 2.0 WinForms application to .Net 4.0 in VS2010. Seemed to work pretty smooth but when testing one of the more complex windows in the application I hit a snag. Upon opening the window I got a “TargetException: Object does not match target type.” thrown in my face. After a quick tour with the debugger I found the problem: data binding didn’t work anymore!
To find out what the real problem was I’ve built a test application that basically does the same thing as the complex window that is giving me such a headache. (meer…)
Meer >17 mrt
Are you using Twitter? Do you like it or absolutely loathe it? I do like it but one thing I don’t like is constantly checking twitter.com to see if someone tweeted something interesting. So a new idea was born and the wasting of time began.
The ideaActually it’s pretty simple, I wanted an application that showed a pop-up of some kind that shows me the latest tweet for a minute or so and then disappear, similar to the new e-mail popup of Outlook. Another feature I wanted to make is that when I mouse over on the Meer >
24 okt
Yesterday I’ve been busy installing the Beta 2 of Team Foundation Server 2010 to do some testing and to see if we can switch (yay go-live!). And in fact the installing went pretty smooth so the work Microsoft has been doing is really great.
Unfortunately when I decided it was time to move our Visual Source Safe database to TFS all went sour. The analysis of the VSS database with the VSSConverter tool worked but when I tried to migrate it just sat there and told me:
TF60070: Unable to connect to the Team Foundation Server: ‘http://ts01:8080/’. Please ensure that the Team Meer >
26 aug
I’ve been tinkering with Visual Studio 2010 Beta1 and the .Net 4 framework. One of the things that I’ve tried is filling a DataGrid with the results of a LINQ query. Consider the following code: C#
var voyages = from voyage in entities.Voyage
select new { Number = voyage.Number, ETA = voyage.StartTime };
dataGridTest.ItemsSource = voyages;
XAML
<DataGrid Name="dataGridTest">
<DataGrid.Columns>
<DataGridTextColumn Header="Number" Binding="{Binding Path=Number}" />
<DataGridTextColumn Header="ETA" Binding="{Binding Path=ETA}" />
</DataGrid.Columns>
</DataGrid>
Seems straightforward enough, doesn’t it? Well it does but when you try to run it, it’ll crash and burn with the following exception:
InvalidOperationException: A TwoWay or OneWayToSource binding cannot Meer >