Browse by Tags

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 | 9 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    
Visual Basic “How Do I” Videos
21 October 09 06:23 PM
We’ve started two new “How Do I” videos series on the Visual Basic Developer Center . More to come, but here’s the latest! Read More...
Postedby VBTeam | 0 Comments    
Filed under: ,
Announcing Visual Studio 2010 Beta 2!
20 October 09 10:35 AM
There were a lot of Microsoft announcements that happened yesterday! Many of these happened during Steve Ballmer’s keynote at the SharePoint Developers Conference ( Video , Twitter ). Here is the list: Visual Studio 2010 Beta 2 and compatible versions Read More...
Postedby VBTeam | 1 Comments    
Filed under: ,
Getting Loopy (Matt Gertz)
07 October 09 02:50 PM
In my last post, I talked about the hidden costs that can occur whenever you call out to methods, particularly in loops. In looking at my examples, reader KG2V commented that another thing that folks need to be aware of is avoiding the assumption that Read More...
Postedby VBTeam | 10 Comments    
Filed under: , , ,
Hidden Costs (Matt Gertz)
06 October 09 12:54 PM
(Note: there was a grievous error in this post based on a bad assumption on my art regarding VB. Not feeling the need to hide my ignorance :-), I have instead made a number of edits in this post to bring it back to some semblance of reality.) One thing Read More...
Postedby VBTeam | 15 Comments    
Filed under: , , ,
Testing Events for Nothing/Null (Doug Rothaus)
25 September 09 10:10 AM
While helping some Windows API folks with some sample code this week, I stumbled upon...uh...I mean “carefully researched” an issue that you might find handy. You may be aware that the RaiseEvent statement automatically checks to verify if an event handler Read More...
Postedby VBTeam | 7 Comments    
Filed under: , ,
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 | 18 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...
Implicit Line Continuation (Kathleen McGrath)
19 June 09 01:32 PM
In the second part of my interview with Doug Rothaus, he describes the new implicit line continuation feature in Visual Basic 2010. Learn about the most common scenarios that no longer require the underscore character (_) in the topic, Statements in Visual Read More...
Postedby VBTeam | 0 Comments    
Auto-Implemented Properties (Kathleen McGrath)
12 June 09 02:46 PM
In this interview, Doug Rothaus, a programming writer on the Visual Studio User Education team, describes the auto-implemented properties in Visual Basic 2010. He also demonstrates some of the code examples in his Help topic: Auto-Implemented Properties Read More...
Postedby VBTeam | 1 Comments    
Try Out Dotfuscator in VS 2010 Beta 1!
10 June 09 06:03 PM
The team at PreEmptive Solutions recently posted a great blog article that walks through all the latest features in VS 2010's Dotfuscator Software Services - Community Edition (previously known as Dotfuscator CE). Browse through the article to learn what's Read More...
Postedby VBTeam | 1 Comments    
Filed under: ,
VS2010 Beta1 Extensibility News (Lisa Feigenbaum)
10 June 09 09:47 AM
I recently received this letter from the Visual Studio Extensibility team, that I thought would be interesting to readers of this blog. Whether you're building Visual Studio extensions or downloading them from others, there's news here for you.   Read More...
Postedby VBTeam | 5 Comments    
Filed under: ,
More Posts Next page »

This Blog

Syndication

Page view tracker