Visual Basic Blog

A group blog from members of the VB team

LINQ for the Web Using VB (By Paul Yuknewicz)

Happy holidays!  It's been a long time since I've written a post, so I figure I can bring in the new year answering some great questions submitted by you.  Just this week someone gave me this feedback: "I am having a difficult time finding information to help me adapt to LINQ in my webforms. I am hoping that someone from ...

Hidden Gems in Visual Basic 2008 (Amanda Silver)

Yesterday I promised to post about the hidden gems in Visual Basic and Visual Studio 2008 that you haven’t read about in blog posts or seen at conferences. I forgot that I mentioned a few of my favorite features in the Beta1 announcement where I showed off the improvements in the Intellisense experience – statement completion for ...

VB expression trees – string comparisons

Hey there! Last time, I talked a little bit about expression trees and what they are useful for. Expression trees are really interesting to those who want to write LINQ providers and have the ability to reason about the lambda expressions coming into their LINQ provider. However, in general, anyone that want's to reason about a lambda ...

Visual Basic Developer Center Gets a Facelift (Beth Massi)

I'm happy to announce the redesign of the Visual Basic Developer Center! This is the first step in a series of community-focused and dynamic content changes you'll be seeing on the Developer Center. Many thanks to the people over at MSDN, (especially Kerby) that made this a reality. Besides the new UI and fresh headlines and downloads, check ...

Lambda Expressions and Expression Trees

Hi there! My name is Tim, and I'm the dev lead for the VB compiler team. Recently Amanda convinced me to blog on the VB team blog rather then my own blog for a variety of reasons, and so here I am. My current plan is that I'll post VB related postings here, and more compiler implementation/technology/fun facts on my own blog (ie, things that ...

Fun with VB !!!

Who says you can't obfuscate VB code? For fun, I tried writing some VB code which was shaped in the letters 'vb' (that's right, the code itself forms the shape of the letters), where the 'v' and the 'b' are formed from the Visual Studio inifinity logo. In case you're having trouble visualizing that, here's a picture. Because I'm forming the ...

Endgame (Matt Gertz)

Well, I’m back from vacation, pleasantly tired and yet relaxed at the same time.  I’m busy trying to dig out of e-mail, things are going well, Beta2 has been in your hands for several weeks, and I’ve got lots of great ideas to try out on this site.(That’s the theory, anyway.  In reality, I’m writing this...

Deploying Applications with the InteropForms 2.0 toolkit

(Recently, we released the InteropForms 2.0 toolkit which allows you to add the richness of .net windows forms to your vb6 application.  We've gotten a fair number of questions from customers asking for more details on deployment, so this will hopefully answer most of your questions) As I'm sure you're aware, deploying VB6 COM based ...

Extension methods and late binding (Extension Methods Part 4)

This is the fourth installment in my series of posts about extension methods. You can find links to the rest of the series here. Today I'm going to talk about extension methods and late binding. Essentially there isn't much to say about it, other than the fact that we don't support late bound execution of extension methods. For the most part ...

Extension Methods (part 3)

In my previous 2 posts I talked about some of the benefits of extension methods and then delved into the details of our new binding rules for consuming them in your programs. Today I'm going to talk about some perils to be aware of when defining extension methods. First, however, I'm going to dig a little into the mechanics used by the ...