Browse by Tags

Tagged Content List
  • Blog Post: The Temple of VB (Matt Gertz)

    Hi, all! It's been a while since I've posted to this blog, and a lot has happened in my world since then. Though I've been pretty busy on our engineering systems team, I took a little time off last summer to do some traveling and, more importantly, some long overdue writing. Although I'd always...
  • Blog Post: On The Blink (Matt Gertz)

    One of the really fun things about being associated with the Visual Basic team is getting to see all of the varied usages to which our customers put it. From enterprise software to games, our customer base covers a wide range. The most fun to see, however, are the hobby applications, because the writers...
  • Blog Post: Spot the Bug! – The Key to using Anonymous Types (Jonathan Aneja)

    This one’s going to be long, but for those of you who’ve felt the first 3 in this series were too easy I promise this one’s tougher J . Let’s say you want to list all the customers from a table in a ComboBox, and update the UI based on which one is selected. To do this we’ll need to bring back...
  • Blog Post: Spot the Bug! – Is it in VB or XAML? (Jonathan Aneja)

    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...
  • Blog Post: Spot the Bug! – Much ado about Nothing… Part 2! (Jonathan Aneja)

    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 - we land here" ) Else MsgBox...
  • Blog Post: Spot the Bug! – Much Ado about Nothing… (Jonathan Aneja)

    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 here on the team blog. Over the past year or so I...
  • Blog Post: Getting Loopy (Matt Gertz)

    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 the world (or, in this case, a list) is a static...
  • Blog Post: Hidden Costs (Matt Gertz)

    (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 that gets me annoyed with myself is realizing...
  • Blog Post: It’s a Small World, After All, part 2 – VB, C#, and GPS (Matt Gertz)

    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 a bunch of cool functionality not exposed...
  • Blog Post: It’s a Small World, After All, part 1 – VB, C#, and GPS (Matt Gertz)

    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 you have to go through the “It’s a Small World...
  • Blog Post: Phoning Home, revisited (Matt Gertz)

    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...
  • Blog Post: CodeRush Xpress 9.1 Beta: 59 Refactorings, 17 Consume-first providers, and Much more! (Lisa Feigenbaum)

    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 editing functionality, making it a much richer tool...
  • Blog Post: Keep the Customer Satisfied (Matt Gertz)

    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...
  • Blog Post: Veni, MIDI, Vici: Generating a simple MIDI file using VB, part 2 (Matt Gertz)

    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...
  • Blog Post: Veni, MIDI, Vici: Generating a simple MIDI file using VB, part 1 (Matt Gertz)

    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...
  • Blog Post: An Updated Screensaver Example (Matt Gertz)

    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...
  • Blog Post: Did you know? You can unwind the call stack from exceptions (Bill Horst)

    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...
  • Blog Post: Did you know? There are many ways to insert a snippet into your code (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...
  • Blog Post: Shell Games (Matt Gertz)

    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...
  • Blog Post: VB Catch ... When: Why so special?

    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. Sub Sub1() Try DoSomeAction() Catch ex As Exception When Filter(ex) Stop ...
  • Blog Post: Looking for Setup and Deployment Project Templates? (Mary Lee)

    Let's say that you've developed an application using the free Visual Studio Express Edition. Now, you want to deploy your application to the masses, and you read documentation about How to: Create or Add Deployment Projects . Here's how the topic starts: To create a new deployment project ...
  • Blog Post: Building a Zune Playlist (Matt Gertz)

    Well, that was… intense. You may have noticed the lack of articles coming from my direction. I have been so buried in work, and so far behind, that when I look forwards all I see is backwards. I work, I drive home, I work some more, and it all seems to keep piling up. I would like to say that this...
  • Blog Post: How LINQ to Dataset works in VB (Jonathan Aneja)

    LINQ at its core requires any data source to be queryable , which basically means it must implement IEnumerable. (It’s actually a bit more complicated than that, for a full explanation see section 11.21.2 of the Visual Basic 9.0 Language Specification ). Now when working with LINQ to Dataset we have...
  • Blog Post: New "How Do I" Videos Available on the Visual Basic Developer Center (Beth Massi)

    If you missed it, last week 48 new How Do I videos ( Forms over data , Windows development , Office development and Security ) were added to the Visual Basic Developer Center in addition to adding new download formats for 12 others. Many thanks to Rob Windsor , Pat Tormey and Steve Hansen for doing these...
  • Blog Post: Did you know? What you can do with Debugger Datatips... (Lisa Feigenbaum)

    There's a lot of cool functionality built into VS debugger datatips that often goes unnoticed... For example, did you know that not only can you *see* values in the expanded datatips, but you can also edit them ? Watch the following walk-through... While debugging, hover over a variable to view its...
Page 1 of 4 (93 items) 1234