Browse by Tags

Spot the Bug! – Is it in VB or XAML? (Jonathan Aneja)
12 November 09 07:39 PM
What’s wrong with the following WPF code? Class Window1 Sub OK_Click(sender As Object , e As RoutedEventArgs) Handles OK.Click MsgBox( "Button Clicked" ) End Sub End Class < Window x : Class ="Window1" xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Read More...
Postedby VBTeam | 0 Comments    
Spot the Bug! – Much ado about Nothing… Part 2! (Jonathan Aneja)
05 November 09 11:46 PM
In yesterday’s post we saw that the use of the wrong comparison operator with Nothing in an If block can lead to surprising results. Let’s look at a slightly different case today: Dim x As Integer = Nothing If x = Nothing Then MsgBox( "A true statement Read More...
Postedby VBTeam | 8 Comments    
Spot the Bug! – Much Ado about Nothing… (Jonathan Aneja)
03 November 09 06:32 PM
Microsoft has this neat mailing list called “Spot the Bug” where developers can send interesting snippets of code that look correct but actually have subtle bugs in them. The puzzles are a lot of fun and I’ve always thought it’d be a fun thing to try Read More...
Postedby VBTeam | 6 Comments    
Getting Loopy (Matt Gertz)
07 October 09 02:50 PM
In my last post, I talked about the hidden costs that can occur whenever you call out to methods, particularly in loops. In looking at my examples, reader KG2V commented that another thing that folks need to be aware of is avoiding the assumption that Read More...
Postedby VBTeam | 10 Comments    
Filed under: , , ,
Hidden Costs (Matt Gertz)
06 October 09 12:54 PM
(Note: there was a grievous error in this post based on a bad assumption on my art regarding VB. Not feeling the need to hide my ignorance :-), I have instead made a number of edits in this post to bring it back to some semblance of reality.) One thing Read More...
Postedby VBTeam | 15 Comments    
Filed under: , , ,
It’s a Small World, After All, part 2 – VB, C#, and GPS (Matt Gertz)
05 August 09 12:30 PM
In my previous post, we fixed up a C# GPS library to provide more support, and wrote all of the UI for a VB GPS application, all based on (but modified from) a Mobile GPS sample in the Windows Mobile 6.0 SDK. In this post, we’ll finish up the app by enabling Read More...
Postedby VBTeam | 9 Comments    
Filed under: , ,
It’s a Small World, After All, part 1 – VB, C#, and GPS (Matt Gertz)
04 August 09 02:34 PM
The title of this blog post has sort of a triple meaning for me. First of all, I just got back from a long (and wonderful!) cruise in the Caribbean, followed by a stop at Disney World. And of course, if you go to Disney World with kids, it’s the law that Read More...
Postedby VBTeam | 5 Comments    
Filed under: , ,
Phoning Home, revisited (Matt Gertz)
21 May 09 10:43 AM
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 Read More...
Postedby VBTeam | 1 Comments    
Filed under: , ,
CodeRush Xpress 9.1 Beta: 59 Refactorings, 17 Consume-first providers, and Much more! (Lisa Feigenbaum)
04 May 09 08:07 PM
Very exciting news! Developer Express is coming out with a new version of the FREE add-in we all know today as Refactor! . The new product, CodeRush XPress, builds on Refactor! by increasing the refactoring count to 59! It also includes a host of other Read More...
Postedby VBTeam | 6 Comments    
Keep the Customer Satisfied (Matt Gertz)
13 April 09 08:21 PM
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 Read More...
Veni, MIDI, Vici: Generating a simple MIDI file using VB, part 2 (Matt Gertz)
01 March 09 10:00 AM
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 Read More...
Postedby VBTeam | 10 Comments    
Filed under: , ,
Attachment(s):VBMidiEditor.zip
Veni, MIDI, Vici: Generating a simple MIDI file using VB, part 1 (Matt Gertz)
27 February 09 10:01 AM
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 Read More...
Postedby VBTeam | 2 Comments    
Filed under: , ,
An Updated Screensaver Example (Matt Gertz)
23 January 09 06:30 PM
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 Read More...
Postedby VBTeam | 24 Comments    
Attachment(s):VB Screensaver.zip
Did you know? You can unwind the call stack from exceptions (Bill Horst)
09 December 08 08:00 AM
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 Read More...
Postedby VBTeam | 1 Comments    
Did you know? There are many ways to insert a snippet into your code (Lisa Feigenbaum)
07 December 08 08:00 AM
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. Read More...
Postedby VBTeam | 5 Comments    
More Posts Next page »

This Blog

Syndication

Page view tracker