Visual Basic Blog

A group blog from members of the VB team

Negative delays: not in VB (Lucian Wischik)

Our recent post on "negative sleeps in VB" was an April Fool's joke. VB doesn't have negative sleeps, and isn't going to. But the joke's on me! Several readers wrote back to say that other languages do have negative sleeps. Tony Hoare, inventor of "Quicksort" amongst other things, wrote: Did you know that negative delays have long been ...

Using "negative sleeps" to improve responsiveness in VB web apps

[NOTE: please also read the followup to this article]  .NET 4.0 will introduce many new threading and concurrency classes -- SpinLock, Parallel Linq, and ConcurrentDictionary to name but a few.The new feature that excites me the most is the ability to pass a negative argument to Thread.Sleep. This article describes how...

Implicit Line Continuation in VB 10 (Tyler Whitney)

Things are always changing.  I was at the Washington State History Museum with my daughter a couple weeks ago.  One of the exhibits features pictures of various sites that were taken many years ago.  Then it contrasts them with contemporary pictures taken of the same locations.  It was really interesting how much things ...

The Silverlight Toolkit Adds Visual Basic Samples (Lisa Feigenbaum)

The Silverlight Toolkit March 2009 release is enhanced with Visual Basic source code. Please follow the links to view these samples for both Silverlight 2 and Silverlight 3. Silverlight 2: http://silverlight.net/samples/sl2/toolkitcontrolsamples/run/default.html Silverlight 3: http://silverlight.net/samples/sl3/toolkitcontrolsamples/run/...

Composite Application Guidance for WPF and Silverlight: VB QuickStarts, Hands-On-Labs, and How-To Topics released! (Lisa Feigenbaum)

Today the Microsoft Patterns & Practices team released a download aimed to help Visual Basic developers use the Composite Application Library. It includes VB versions of the QuickStarts, Hands-On-Labs, and How-To topics: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=537da1cd-43e1-4799-88e7-a1da9166fb46 I've ...

MIX 09 Video: Making XML Really, Really Easy with Microsoft Visual Basic (Alex Turner, Lisa Feigenbaum)

Alex Turner presented VB XML yesterday here at MIX 09. Check out the video from his session! Video link: https://channel9.msdn.com/events/mix(The powerpoint slides are attached.) Making XML Really, Really Easy with Microsoft Visual Basic 9 MIX09-T72M Wednesday March 18 |11:55 AM-12:15 PM | San Polo 3401 By: Alex Turner Tags: Languages See ...