Search Wiki:
Resource Page Description
Visual Basic is an amazing programming language, combining power and usability into one fantastic package. As a regular blogger on the VB team blog page, I frequently post VB applications and code snippets there. This resource page will collect those applications so that you can download them easily to your machine. I tend to focus on game programming as a good way to introduce VB coding concepts to people, and so you'll card games, maze games, and so forth here, all of which leverage various aspects of VB coding.

On the "Releases" tab above, you'll find applications which help you with:

- Resource management
- Timers
- Modal and modeless dialogs
- XML usage
- Exception handling
- Game logic
- Printing
- Loading and saving files
- Application data persistence and usage
- Test-to-speech
- Audio, including WAV files, WMP usage, and so on
- Implementing undo/redo
- Owner draw

... and a whole lot more! Each application release description also points to my original discussion on the technology in question as posted on the VB Team blog site (

Visual Basic programming is a lot of fun and a very powerful way to generate applications, and if you're not a convert already, the Temple of VB aims to change your mind and bring you on board!


--Matt Gertz--*
Principal Development Manager (Developer Division Tactics)
Microsoft Corporation

P.S. Euchre players -- don't miss the VB Euchre game which I've made available on the Resources pages (direct link:! Besides introducing some important VB coding concepts, it's also just a lot of fun to play!

Last edited Jan 26 2008 at 12:13 AM  by MattGertzMSFT, version 6
dbaechtel wrote  Jan 9 2009 at 9:38 PM  
Any work with VB and Live Framework or Windows Azure? Any good sample code?

MattGertzMSFT wrote  Jan 27 2009 at 11:37 PM  
Sorry, I missed seeing this comment here! No, I haven't really looked into Live or Azure code yet, though I probably will in the future -- Azure in particular has got me pretty jazzed.

kousis wrote  Sep 29 2009 at 3:56 PM  
Hello, i tryied the GPS app but when i'm opening with vb 2008 i'm getting a bunch of errors like nothing is defined and "To prevent possible data loss before loading the designer, the following errors must be resolved"

MattGertzMSFT wrote  Sep 29 2009 at 7:06 PM  
Hi, Kousis,
Right-click the C# app and select "rebuild" -- that should make the reference errors go away. C# doesn't build automatically in the background like VB, hence you might see some reference errors.

Hope this helps,

kousis wrote  Sep 30 2009 at 4:32 PM  
I tryied to rebuild and the red lines gone, but still i can't view the vb form and now the error is "Can't find the file specified" and the error pane the error is that the vbgps.resx file not found.
Thank you

LostMan wrote  Oct 16 2009 at 12:34 PM  
The file vbgps.resx is missing from the download - it should be in the VBGPS\VBGPS directory. I made a copy of Form1.resx and now it is possible to see the form, and "Build succeeded". After installing on my MDA the application does not connect to the GPS - so it's time to do some debuging.

MattGertzMSFT wrote  Nov 6 2009 at 9:50 PM  
Sorry about that! I'll figure out what wen't wrong with the ZIP file and upload it again.

MattGertzMSFT wrote  Nov 6 2009 at 11:06 PM  
This is fixed now. Sorry it took so long -- Code Gallery used to send me an e-mail when someone left a comment here, but for reason it's stopped doiong that. Anyway, what happened was that a file rename (from Form1 to VBGPS) got busted or interrupted somehow in Visual Studio before I posted this. Renaming Form1.resx to VBGPS.resx will fix the problem (and you can delete Form1.vb and Form1.designer.vb altogether since they aren't used). I've reposted the ZIP file.

cz2002 wrote  Feb 21 2013 at 8:45 AM  
This example works very nice!! I generated the dll library and works perfect too.
works with 2008
!! thanks!!

Page view tracker