Showing results for VB2005 - Visual Basic Blog

May 21, 2009
0
0

Phoning Home, revisited (Matt Gertz)

Anthony D. Green [MSFT]
Anthony D. Green [MSFT]

In my post “M. G. Phone Home,” I discussed how to write a simple phone application for Windows Mobile, using Visual Basic, which accesses the Bluetooth service.  What I didn’t discuss was how to deploy it to the phone via CAB.  Since I purchased a new phone yesterday (a Samsung Saga, running Windows Mobile 6.1), and I&...

Apr 13, 2009
0
0

Keep the Customer Satisfied (Matt Gertz)

Anthony D. Green [MSFT]
Anthony D. Green [MSFT]

As I’ve written elsewhere, the toughest critics for any work you do can always be found in your own family.  Pleased at the immense work that I’d done in scanning in and tagging all of my photos and media (as noted in this post), and with my ego sufficiently boosted by writing a screensaver in VB that would display not only the ...

Mar 1, 2009
0
0

Veni, MIDI, Vici: Generating a simple MIDI file using VB, part 2 (Matt Gertz)

Anthony D. Green [MSFT]
Anthony D. Green [MSFT]

In part 1 of this series, I constructed a pair of classes to supporting persisting MIDI data to files.  In this entry, I’ll now leverage that code to support an (admittedly limited) music editor experience. Caveat:  As I mentioned in the first post, I’m sure many readers will be far more knowledgeable about MIDI than I am, and will ...

Feb 27, 2009
1
0

Veni, MIDI, Vici: Generating a simple MIDI file using VB, part 1 (Matt Gertz)

Anthony D. Green [MSFT]
Anthony D. Green [MSFT]

As I’ve alluded to in previous blogs, music has always been a big part of my life, particularly performance music.  I’ve been a clarinet and saxophone player for many years, am an avid singer, and (with the help of friends) I’ve done my best to teach myself piano and drums.  Composition of music, however, has always been...

Jan 23, 2009
1
0

An Updated Screensaver Example (Matt Gertz)

Anthony D. Green [MSFT]
Anthony D. Green [MSFT]

I’ve just completed a task that I set out to do about five years ago, and I am pretty proud (and tired)!  I have just finished scanning in every single photo that I’ve acquired over my 40+ years of life, fixing up their dates to reflect the date when the picture was taken, not when it was scanned.  Furthermore, I have tagged every ...

Dec 9, 2008
0
0

Did you know? You can unwind the call stack from exceptions (Bill Horst)

VBTeam
VBTeam

The ability to unwind the call stack from exceptions is one of the debugger features that was newly introduced in Visual Basic.NET 2005. When the debugger hits a first-chance exception, you can unwind the call stack in order to make code edits to fix the exception and continue debugging with the changes. The exception assistant UI will have an &...

Dec 7, 2008
0
0

Did you know? There are many ways to insert a snippet into your code (Lisa Feigenbaum)

Lisa Feigenbaum
Lisa Feigenbaum

Code snippets were introduced in the Visual Basic 2005 release. They provide an easy way to learn how to do a particular coding task, or to re-use a piece of code in various parts of your application. Code snippets can be inserted in a variety of ways.  The method you choose will depend upon the situation.  When browsing for a code ...

Oct 31, 2008
0
0

Shell Games (Matt Gertz)

Anthony D. Green [MSFT]
Anthony D. Green [MSFT]

I was once temporarily taken off the VB team to get an unrelated project back on track, just a mere handful of weeks before it was due to ship.  I won’t go into the gory details; suffice it to say that we had reason to believe that the product would have to ship without delay, and that any major failure in the deliverable could create ...

Oct 9, 2008
0
0

VB Catch … When: Why so special?

VBTeam
VBTeam

The VB Catch syntax has a unique feature: When.  It allows users to filter expressions based on something other than their type.  Any arbitrary code can enter a When block to decide whether or not to handle an Exception. Newsgroups often ask, "Why's this so special? I could effectively get the same behavior out of C# by doing the ...