Visual Basic Blog

A group blog from members of the VB team

Latest posts

Nov 6, 2009
Post comments count 0
Post likes count 0

Linking Zune media items with LinQ, Part 1 (Matt Gertz)

Anthony D. Green [MSFT]

Way back in October 2007, I wrote up a few posts (here and here) on my experiments with the Windows Media Player object model.  The problem I was trying to solve was that, when I had a playlist set to “shuffle,” WMP would break up songs that should always play together (for example, Jackson Browne’s “The Load-Out” and “Stay”, or Pink Floyd’s “Brain Damage” and “Total Eclipse”).  In those posts, I worked around this by building my own shuffler which would emit a new randomized playlist which preserved those links, and then playing th...

Nov 5, 2009
Post comments count 0
Post likes count 0

Spot the Bug! – Much ado about Nothing… Part 2! (Jonathan Aneja)

VBTeam

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 - we land here")        Else            MsgBox("The statement is a lie - we land here") &nbsp...

Nov 3, 2009
Post comments count 0
Post likes count 0

Spot the Bug! – Much Ado about Nothing… (Jonathan Aneja)

VBTeam

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 here on the team blog.  Over the past year or so I’ve been keeping a list of interesting bug reports and emails where people have been tripped up by some of VB’s hidden subtleties (though admittedly many of these could apply to C# as well).   The format’s gonna be a bit of an experiment – let me know if you prefer to see the answer in the same post or...

Oct 21, 2009
Post comments count 0
Post likes count 0

Visual Basic “How Do I” Videos

Lisa Feigenbaum

We’ve started two new “How Do I” videos series on the Visual Basic Developer Center. More to come, but here’s the latest!

Oct 20, 2009
Post comments count 0
Post likes count 0

Announcing Visual Studio 2010 Beta 2!

Lisa Feigenbaum

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: MSDN subscribers can download Beta 2 now!  We will be opening up Beta 2 for everyone to download starting this Wednesday. In honor of VS 2010 Beta 2, we have a lot of great content prepared. The following MSDN page aggregates our VB 2010 content. We hope you will enjoy trying out the next release! We definitely look forward to hearing your feedback. Here are some places where you can contact us: Than...

Oct 17, 2009
Post comments count 0
Post likes count 0

I'm A VB: Lluis Franco

VBTeam

  Website: http://geeks.ms/blogs/lfranco  ·        How long have you been using VB?Visual Basic? Since VB 3.0, but I have been using other Basic in the 80's ;-) ·        What industry do you work in?Currently I work in a Financial company ·        How big is your development team?We're only 5 in the team, but we're a big team! ·        What kind of apps do you most commonly build?Finantial, portfoli...

Oct 17, 2009
Post comments count 0
Post likes count 0

I'm A VB: Jorge Serrano, Visual Basic MVP

VBTeam

  Website: http://geeks.ms/blogs/jorge/  ·        How long have you been using VB?In the University had the opportunity of use VB 1 (one floppy disk of 3 1/2 1.44 Mb). It was a little bit odd in a first moment, but a few time later I used VB 3 (7 or 8 floppy disks, I don't remember now how many) and it was a fantastic experience. In my University nobody were using VB, only Cobol, Fortran and a little bit of C and C++, but nothing of VB or Turbo Pascal or Delphi. Since then, I have been using Visual Basic always... forever. ·  &nbs...

Oct 17, 2009
Post comments count 0
Post likes count 0

I'm A VB: Earl Vella

VBTeam

 ·        How long have you been using VB?9 years, hah saying it makes it look like it was yesterday.  started with Basic on my father's massive ... well you cant really call something that big a 'PC'. was introduced to Visual basic 6 by a friend and was addicted to it. Just as a modern console or an addictive FPS i was cought by VB6    Then when starting Uni .net came out. Coding was now becoming easier and more powerfull than ever. ·        What industry do you work in?System development a...

Oct 17, 2009
Post comments count 0
Post likes count 0

I'm A VB: Bob Swan

VBTeam

 ·        How long have you been using VB?12 years  ·        How big is your development team?4 ·        Please tell us about an app that you’re working on at the moment.App used to  track REO property services ·        What other technologies do you most commonly use?SQL Server  ·        What do you like most about VB as a programming l...