Visual Basic Blog

A group blog from members of the VB team

Did you know? You can now manage your snippet highlighting (Lisa Feigenbaum)

Do you use code snippets (introduced in VB 2005)? If you do, then you've probably noticed the green highlighting that stays around for the lifetime of the file. We've heard *a lot* of feedback that once you are done customizing the snippet, it is distracting to see this highlighting stay around. To address this, VB 2008 has improved the ...

Making PInvoke Easy

Jared here again.  I very excited to announce we recently released a tool I've been working on to MSDN that will greatly help with using PInvoke in managed code.  The tool is called the "PInvoke Interop Assistant" and is included as part of a MSDN article on marshalling data for PInvoke and Reverse PInvoke scenarios.  Here is ...

Launch events in Portugal & England!

All -- I'm very excited to be speaking at launch events in Lisbon, Portugal and Birmingham, England within the next week. After a 17 hour journey, with much jet-lagged-sleepiness in my eyes, I'll be speaking tomorrow morning at 9:30am in room A3 of the Centro de Congressos de Lisboa. DEV10 - Expert VB.NET 2008: Past, Present, and FutureDo you ...

Orcas introduces the IF operator – a new and improved IIF (Sophia Salim)

One of my all time favorite features in C# and CPP has been the conditional operator (?:). The brevity and elegance introduced by this operator in the code is unparalleled. We had IIF in all the previous versions of VB.net, which was not an operator in the true sense (It was a call to a function). But now with Visual Studio 2008, we have ...

Silverlight Ux Musings: Silverlight 2 Control Skins [Corrina Barber]

Silverlight 2 beta one is now available with lots of great new functionality!! You can go to Silverlight.net to find important downloads, specific details about new functionality, and very cool sample applications. So, what I want to talk about today is the controls that Silverlight 2 now provides. There are a bunch of new controls ...

Language Futures Page on Code Gallery (Beth Massi)

Go take an early peak at what the VB and C# teams are cooking up for the next version by visiting the Language Futures page on Code Gallery. Code Gallery is not just about samples. It also allows us to host threaded discussions and the teams want your feedback on some features they are considering for the next version of Visual Studio. Charlie...

InteropForms ToolKit – Visual Studio 2008 edition (Todd Apley)

I apologize right away that it's been a while since I've blogged about the interop forms toolkit although I've been doing my best to keep up with issues and questions on the interop forums.   It seems from the mail I've received that a lot of people are having good success at extending their legacy vb6 apps ...

Keeping Track of Books Using VB (Matt Gertz)

I have a confession to make.  I’m not a database guy.  I’ve done a lot of varied coding over my career, but somehow I’ve never been directly involved in the guts of database coding.  Whenever my code needed some sort of data-caching mechanism, I’ve tended to “roll my own,” as the saying goes.&...