Visual Basic Blog

A group blog from members of the VB team

Using the PrintForm component in Visual Basic (Matt Gertz)

(This is the fourth and final part of the Paint-by-Numbers series) Late last year, some clever guys on our Visual Basic team released the PrintForm component on the web.  The idea behind the PrintForm component was to make printing and previewing your form very easy in .NET.  I’m going to leverage this component to enable printing ...

Linq Cookbook, Recipe 6: Your first Linq Application using Northwind (Kit George)

This example is intended as a ‘primer’ for following recipes (so we don’t repeat the same instructions multiple times). This recipe takes you through everything you need, and assumes only that you've installed Visual Studio (and in so doing, you've installed SQLExpress). Subsequent Northwind based Linq-To-Sql recipes ...

How to implement IQueryable (by Kevin Halverson)

Here’s a link to a post I just finished on ‘How to implement IQueryable’ (create a custom Linq provider).http://blogs.msdn.com/kevin_halverson/archive/2007/07/10/how-to-implement-iqueryable.aspxMy example project allows you to query the Windows Vista (Desktop) Search engine for files on your local machine.  For example:&...

Loading and Saving Files in Visual Basic (Matt Gertz)

(This is part 3 of the Paint-by-Numbers series)There are four issues I want to deal with in this post:  New, Open, Save (As), and Exit.  I’ll be doing these in order, but all of them depend on knowing whether or not the application is dirty, so I’ll deal with that problem first.  Opening and saving files isn’t ...

This Week's Live From Redmond Webcast Rescheduled [Beth Massi]

We just had to reschedule Cameron's Wednesday Live From Redmond: VB9 - Performance Improvements in Visual Studio 2008 talk for Tuesday July 24th. If you're already registered then you're good to go and automated emails should have been sent out to notify you all of the change. If you haven't registered yet, what are you waiting ...

Lumos: Fireworks in Seattle

Hello, dear readers!It has been another exciting week, so here is the second intern post :)New Team MembersLet me first introduce to you the other two members of our team. They are also interns, and the three of us are going to be working together on our really awesome top-secret intern project. Cameron is our SDET guy, and here he is in ...

Implementing infinite undo/redo (Matt Gertz)

(This is the second part in my series on creating a Paint-by-Numbers designer application.)This is the first application that I’ve built specifically for this blog, where I’m actually writing the code while I’m writing the blog.  (For example, the Euchre game that I blogged about was something I’d written a couple ...