Browse by Tags

All Tags » VB10 » VS2008 (RSS)
Back in April 2006, I blogged about a nasty JIT compiler optimisation that would cause String.IsNullOrEmpty to throw a null reference exception;  ironic really given that is the very thing you’d use the IsNullOrEmpty method to check against. ...
with no comments
Filed under: , , , , , , ,
I’ve just uploaded a new screen cast: Snippet Editor Tips and Tricks Enjoy :) (oh and don’t forget the “ buy me a beer ” button)
Snippet Editor 2.1 is now released on codeplex: http://www.codeplex.com/SnippetEditor   Apart from the few minor bug fixes, it includes improved search and now support for Visual Studio 2010 as well as 2008 and 2005. I’ve also added a “buy me a beer...
Although VB 10 won’t have a formal syntax for iterators, it will have all the necessary ingredients to easily write iterators. In VB10 you can use a generic template and multi line lambdas to create iterators. This iterator in C# :   static public...
3 comment(s)
Filed under: , , , , , ,
One of the nice things about the My application framework in VB.NET is the ability to easily show splash screens.  The splash screen is displayed using a separate thread and by default will close when your main form’s Load event is called. There...
3 comment(s)
Filed under: , , , , ,
A comment by Joe Duffy on the Framework Guidelines for Extension says : Extension methods can also be used to provide actual concrete method implementations for interfaces. And this is a very important point. In .NET there is no support for multiple implementation...
with no comments
Filed under: , , ,
Earlier I posted what I hope wetted your appetite for some more info about Libraries in Windows 7.  So  what are libraries you ask//I ask ;) Well I hope the following provides some insight.  caveat emptor: this is still just my first impressions...
1 comment(s)
Filed under: , , , ,
  When I was going through the snippet editor code to put it on CodePlex, I wanted to grab a screen shot of the snippet schema.  immediately I was confronted with there being no visual designer for schemas in VS 2008, but the worse part was...
I’ve just finished uploading the Snippet Editor to CodePlex http://www.codeplex.com/SnippetEditor It includes some minor bug fixes from the previous release. Enjoy :) And Merry XMas :)
From a recent discussion on using lists, and whether or not you can remove items in while iterating, I decided to write an extension that allows you to get a “transaction” for an IList(Of t).  This ListTransaction(Of T) caches adds and removes until...
6 comment(s)
Filed under: , , , ,
Over the last week I’ve got a sudden influx of emails about the Snippet Editor.  I’m figuring this is stemming from Lisa’s recent blog entry and her tips and trips for VS 2008 presentation :)  Some of the emails have been really nice praise...
Davy Brion posted about how events can keep object references alive.  In C# to rid yourself of this issue you have to manually unwire any event handler you wired.  In VB, it is a lot easier, all you have to do is use WithEvents and set the variable...
1 comment(s)
Filed under: , , , ,
In case you haven’t seen it, Microsoft is releasing tools for WPF out of cycle as part of the WPF toolkit . Current release includes a CTP of a Data Grid, and a Date Picker and Calendar is planned.
with no comments
Filed under: , , , ,
Lucian has kicked off the conversation on generic variance in VB , so I thought I’d write a few posts outlining my perspectives on the subject… the first of which is this one, and what better place to start than to question whether or not it is really...
5 comment(s)
Filed under: , , , , ,
This post has been sitting in my drafts for a while, so I thought I should post it, mainly because I want to talk about this and generic variance and arrays in more detail in the days ahead.  The reason this post was put on hiatus was I was waiting...
5 comment(s)
Filed under: , , , , ,
I was reading Kathleen’s post about what a C# developer needs to know about VB and thought I should clarify the bit about Booleans converted to numerics.  A Boolean in VB when converted to an integer type numeric, will be zero or the bitwise Not...
with no comments
Filed under: , , , ,
If you open Visual Studio 2008, you'll notice that the start page for VB hasn't been updated since December 4th, 2007. Strangely enough the VB team's blog still seems to be used from time to time. Hopefully someone's just asleep at the...
3 comment(s)
Filed under: , ,
Does VB need prefix and postfix increment and decrement operators ? Here's an example I posted today for a question on adding an index with LINQ: Sub Main() Dim values() As String = { "aaa" , "bbb" , "ccc" } Dim index...
5 comment(s)
Filed under: , , ,
After my post about the first set of insults from the Windows Live team and the Search API samples, it was nice to see some VB samples released. Sadly though they were just the C# samples run through an automated tool. I mean look at this bullshit code...
Microsoft's Live Search API team have released samples in Java, PHP, C#, Python and Ruby, but no VB samples. Better not say the " N word ", even though that's the way it seems yet another team at Microsoft chooses to treat their supposedly...
2 comment(s)
Filed under: , , , ,
More Posts Next page »