Browse by Tags

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 | 8 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 | 17 Comments    
Filed under: ,
Dynamic Searching using LINQ - Dataset + Joins
10 July 09 05:22 PM
About two years ago I posted some code that shows how to dynamically construct LINQ queries at runtime . On average there's a couple questions per month about trying it in some edge case, and usually the support already exists within the API. Recently Read More...
Postedby VBTeam | 5 Comments    
Attachment(s):DynamicQueries.zip
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...
TechEd North America, here we come! (Lisa Feigenbaum)
30 April 09 08:05 PM
TechEd North America 2009 is right around the corner. For those of you attending, we look forward to spending time with you at the VB.NET sessions and Technical Learning Center (a.k.a. booth). I've pasted the VB.NET session list below. DTL04-INT Strategies Read More...
Spain User Group Tour: All Good Things Must Come to An End (Lisa Feigenbaum)
25 November 08 12:43 PM
After three and a half days visiting user groups through Spain, Jon and I have flown back to the US. We got to meet some great people and had lots of fun talking about VB. The slide decks that we used on the trip are attached at the end of this post. Read More...
Visual Basic en España (Lisa Feigenbaum)
17 November 08 03:04 PM
This week Jonathan Aneja and I are traveling from city to city, and presenting to VB.Net user groups in Spain. We began the tour in Barcelona where we were speaking at TechEd EMEA, and will finish in Madrid. VB MVP Pep Lluis Blano organized the entire Read More...
Postedby VBTeam | 2 Comments    
Community Interview with Jonathan Aneja (Beth Massi)
10 October 08 09:00 AM
Continuing the community interviews from our Italian Visual Basic MVP Alessandro Del Sole , this time we interview Jonathan Aneja, VB Compiler Program Manager. Remember that you can take a look at the Visual Basic Team page for pictures and bios and visit Read More...
Postedby VBTeam | 1 Comments    
Where is the VB Team going to be over the next few months? (Lisa Feigenbaum)
28 September 08 03:26 PM
We have quite a few trips coming up over the next couple months, and we want to connect with you while we’re on the road. Here is our plan. Let us know where we can find you. ;-) October 6-7, 2008 Software Development Conference 2008 : http://www.sdc.nl/ Read More...
VB 2008 Language Deep Dive - Presentation Materials (Jonathan Aneja)
20 August 08 09:55 PM
Last week I got the chance to visit the Toronto .NET User Group and give a talk on all the great new language features in VB2008. It was great to see so much excitement a round LINQ and especially XML Literals ! The slides and demo code are posted at Read More...
Postedby VBTeam | 2 Comments    
How LINQ to Dataset works in VB (Jonathan Aneja)
14 May 08 04:52 PM
LINQ at its core requires any data source to be queryable , which basically means it must implement IEnumerable. (It’s actually a bit more complicated than that, for a full explanation see section 11.21.2 of the Visual Basic 9.0 Language Specification Read More...
Using LINQ to Dataset in an .aspx page (Jonathan Aneja)
13 May 08 06:35 PM
Recently I got a customer question about how to use LINQ to Dataset in an .aspx file. The compiler was complaining that it couldn't find the AsEnumerable method that allows LINQ to work over a DataTable ("AsEnumerable is not a member of 'DataTable'"). Read More...
Postedby VBTeam | 5 Comments    
Launching External Tools from inside Visual Studio (Jonathan Aneja)
27 November 07 08:08 PM
Visual Studio has a small but extremely useful feature that allows you to hook external tools directly into the IDE’s Tools menu. All you have to do is click Tools->External Tools… and then you can add your own custom menu items that will launch a Read More...
Postedby VBTeam | 1 Comments    
More Posts Next page »

This Blog

Syndication

Page view tracker