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

In this post, I’ll continue on with coding the new playlist shuffler.  If you haven’t read part 1 yet, I highly recommend it so that this post will make more sense. J Code for the controls (continued) The Title TextBox When the title changes, we’ll want to indicate that the playlist has changed, and we’ll…


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

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…


Dynamic Searching using LINQ – Dataset + Joins

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 though someone posted a question that has to do with Datasets and…


XML Literals, WCF and LINQ Article by Steele Price (Lisa Feigenbaum)

Steele wrote a great article in last month’s issue of Visual Studio Magazine on XML Literals, WCF and LINQ. He shows how to use these three technologies together to produce more responsive ASP.NET pages, and more readable code. Lots of great tips for VB 2008. VSM’s “On VB” Column: XML Literals, WCF and LINQ by…


Community Article: Scaling ADO.NET DataTables (Beth Massi)

We we released a new community article onto the Visual Basic Developer Center by one of our MVPs, Jeff Certain, called Scaling ADO.NET DataTables. In this article Jeff shows shows us how to query and aggregate data using the built in DataTable methods as well as LINQ to DataSets. He compares the performance on indexed and…


Tutorial: Functional Programming with Visual Basic 9.0 (Lisa Feigenbaum)

Using Visual Basic, and thinking about Functional Programming? Here’s an excerpt from Eric White’s blog, explaining why you should: Functional Programming (FP) has the potential to reduce program line count by 20% to 50%, reduce bugs and increase robustness, and move us in the direction of taking advantage of multiple core CPUs. He believes that the reasons many developers don’t…


TechEd Barcelona: Session Materials (Lisa Feigenbaum)

I’m here at TechEd Barcelona, and the week has gotten off to a great start. Jason Zander did the keynote this afternoon, and announced lots of great tooling support that will be included in Visual Studio 2010! Exciting stuff. I have 4 sessions here, starting tomorrow. I’ve attached the materials at the end of this post, in case…


Visual Basic at TechEd SouthEast Asia (Lisa Feigenbaum)

This is a follow-up to my presentations at TechEd SouthEast Asia. Please find all the descriptions and materials for the presentations on the following resource page: http://code.msdn.microsoft.com/techedsea Here are some direct links to the materials: TLA 314 – Visual Basic 2008 Tips and Tricks TLA 323 – Best Practices for the VB9.0 and CSharp 3.0…


Visual Basic at TechEd South Africa 2008 (Lisa Feigenbaum)

Thanks to those of you who attended my sessions at TechEd South Africa 2008. As promised here are the presentation materials I used, so you try out the examples yourself! I’ve created a Code Gallery resource page to host the material, with all the session abstracts, powerpoints, and solutions. That resource page is available here: http://code.msdn.microsoft.com/tesalf/ More…