Browse by Tags

Hidden Gems in VB2010 – Serializing Objects that Raise Events (Jonathan Aneja)
14 December 09 05:21 PM
By now you've likely heard about the major new features coming in VB 2010, but there's also a number of smaller additions in the language and IDE that might not be as readily noticeable. "Hidden Gems" will be a multi-part series where we'll explore some Read More...
Postedby VBTeam | 2 Comments    
Spot the Bug! – The Key to using Anonymous Types (Jonathan Aneja)
16 November 09 11:54 PM
This one’s going to be long, but for those of you who’ve felt the first 3 in this series were too easy I promise this one’s tougher J . Let’s say you want to list all the customers from a table in a ComboBox, and update the UI based on which one is selected. Read More...
Spot the Bug! – Is it in VB or XAML? (Jonathan Aneja)
12 November 09 07:39 PM
What’s wrong with the following WPF code? Class Window1 Sub OK_Click(sender As Object , e As RoutedEventArgs) Handles OK.Click MsgBox( "Button Clicked" ) End Sub End Class < Window x : Class ="Window1" xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Read More...
Postedby VBTeam | 0 Comments    
Spot the Bug! – Much ado about Nothing… Part 2! (Jonathan Aneja)
05 November 09 11:46 PM
In yesterday’s post we saw that the use of the wrong comparison operator with Nothing in an If block can lead to surprising results. Let’s look at a slightly different case today: Dim x As Integer = Nothing If x = Nothing Then MsgBox( "A true statement Read More...
Postedby VBTeam | 10 Comments    
Spot the Bug! – Much Ado about Nothing… (Jonathan Aneja)
03 November 09 06:32 PM
Microsoft has this neat mailing list called “Spot the Bug” where developers can send interesting snippets of code that look correct but actually have subtle bugs in them. The puzzles are a lot of fun and I’ve always thought it’d be a fun thing to try Read More...
Postedby VBTeam | 6 Comments    
Properties vs Fields – Why Does it Matter? (Jonathan Aneja)
04 September 09 02:01 PM
The other day I got an email from a developer asking an interesting question about VB10’s Auto-implemented Properties feature. “I am, however, somewhat confused regarding the properties feature you mentioned - i.e. turning 11 lines of get/set/backing Read More...
Postedby VBTeam | 19 Comments    
Filed under: ,
TechEd Video: Future Directions for Visual Basic, by Anders Hejlsberg and Jonathan Aneja
20 June 09 08:35 AM
As part of the new VB/C# co-evolution strategy , Visual Studio Technical Fellow Anders Hejlsberg has broadened his role. In addition to being Chief Architect for C#, he now sets the direction for both the VB.NET and C# languages. At TechEd, Anders participated Read More...

This Blog

Syndication

Page view tracker