Skip to main content
Microsoft
Visual Basic
Visual Basic
  • Home
  • DevBlogs
    • App Center
    • Azure DevOps
    • Notification Hubs
    • Visual Studio
    • Visual Studio Code
    • Visual Studio for Mac
    • Azure Artifacts
    • Azure Boards
    • Azure Pipelines
    • Azure Repos
    • Azure Test Plans
    • DevOps
    • C++
    • Java
    • Java Blog in Chinese
    • JavaScript
    • PowerShell
    • Python
    • Q#
    • Scripting
    • TypeScript
    • Visual Basic
    • Visual C#
    • Visual F#
    • .NET
    • ASP.NET
    • NuGet
    • Xamarin
    • Apps for Windows
    • Azure Government
    • Azure SDKs
    • Bing Dev Center
    • Command Line
    • Developer Support
    • DirectX Developer Blog
    • IoT Developer
    • Math In Office
    • Microsoft Edge Dev
    • Microsoft Azure
    • Office 365 Development
    • Old New Thing
    • PAX Graph
    • PAX Media
    • PAX Windows
    • Perf and Diagnostics
    • PIX on Windows
    • Startup Developers
    • Surface Duo
    • Sustainable Software
    • Windows Search Platform
    • Azure Cosmos DB
    • Azure Data Studio
    • Azure SQL
    • Azure Synapse Analytics
    • OData
    • Revolutions R
    • SQL Server Data Tools

    Visual Basic Blog

    A group blog from members of the VB team

    VB2005 Archives | Visual Basic Blog

    The Temple of VB (Matt Gertz)
    The Temple of VB (Matt Gertz)
    AvatarAnthony D. Green [MSFT]April 29, 2011Apr 29, 201104/29/11
    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 enjoyed writing the "here's how ...

    0
    On The Blink (Matt Gertz)
    On The Blink (Matt Gertz)
    AvatarAnthony D. Green [MSFT]February 26, 2010Feb 26, 201002/26/10
    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 of that code come up with ...

    0
    Spot the Bug! – The Key to using Anonymous Types (Jonathan Aneja)
    Spot the Bug! – The Key to using Anonymous Types (Jonathan Aneja)
    AvatarVBTeamNovember 16, 2009Nov 16, 200911/16/09
    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 two fields...

    0
    Spot the Bug! – Is it in VB or XAML? (Jonathan Aneja)
    Spot the Bug! – Is it in VB or XAML? (Jonathan Aneja)
    AvatarVBTeamNovember 12, 2009Nov 12, 200911/12/09
    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/...

    0
    Spot the Bug! – Much ado about Nothing… Part 2! (Jonathan Aneja)
    Spot the Bug! – Much ado about Nothing… Part 2! (Jonathan Aneja)
    AvatarVBTeamNovember 5, 2009Nov 5, 200911/5/09
    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 ...

    0
    Spot the Bug! – Much Ado about Nothing… (Jonathan Aneja)
    Spot the Bug! – Much Ado about Nothing… (Jonathan Aneja)
    AvatarVBTeamNovember 3, 2009Nov 3, 200911/3/09
    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’ve been keeping a list...

    0
    Getting Loopy (Matt Gertz)
    Getting Loopy (Matt Gertz)
    AvatarAnthony D. Green [MSFT]October 7, 2009Oct 7, 200910/7/09
    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 thing.  It’s a good point ...

    0
    Hidden Costs (Matt Gertz)
    Hidden Costs (Matt Gertz)
    AvatarAnthony D. Green [MSFT]October 6, 2009Oct 6, 200910/6/09
    (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 that the product or service I’ve ...

    0
    It’s a Small World, After All, part 2 – VB, C#, and GPS (Matt Gertz)
    It’s a Small World, After All, part 2 – VB, C#, and GPS (Matt Gertz)
    AvatarAnthony D. Green [MSFT]August 5, 2009Aug 5, 200908/5/09
    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 in the original sample.The C# ...

    0
    It’s a Small World, After All, part 1 – VB, C#, and GPS (Matt Gertz)
    It’s a Small World, After All, part 1 – VB, C#, and GPS (Matt Gertz)
    AvatarAnthony D. Green [MSFT]August 4, 2009Aug 4, 200908/4/09
    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” ride, ...

    0
    • Page 1
    • Page 2
    • Page 3
    • …
    • Page 10
    • Next page
    Topics
    .NETAdam BradenAlan BermanAlex TurnerAlexandre MouraAmanda SilverAnalyzersAnders HejlsbergAndroidAngularannouncementAnthony D. Greenasyncasynchronous programmingAvner AharoniawaitBeth MassiBill HorstBinary LiteralsByRef ReturnC#C# 6.0Cameron McCollClickOnceConverting SQL to LINQCorrina BarberCross PlatformDaniel WalzenbachData_DesignDebuggerdebuggingDeploymentDid you know?DLRDoug RothausDustin CampbellEdit and ContinueEncodingEncryptionEntity Framework CoreEric KnoxExtension_MethodsF#F# 4.0GitHubGlobalizationHidden Gems in VB10I'm A VB!IDEInterviewiOSIQueryableJared ParsonsJay SchmelzerJoe BinderJohn RivardJohn StalloJonathan AnejaKaren LiuKasey UhlenhuthKathleen McGrathKevin HalversonKinnectKit GeorgeKlaus LoeffelmannLanguage FeaturesLINQ CookbookLINQ/VB9Lisa FeigenbaumLive Unit TestingLuca BologneseLucian WischikMary LeeMatt GertzMessage LoopmetadataMicroframeworkMilind LeleMS Open TechMSINET CoreNET StandardNetduinoObject IDOffice DevelopmentOpen SourceOrcasOSSPagesparallel programmingPatrick DenglerPaul VickPaul YuknewiczPDC2008PerformancePInvokePower PacksPromisesRoslynSamplesSarika CallaScott TuckerScott Wisniewskiscreen saversShyam NamboodiripadSilverlightSilverlight 4 FirestarterSlavi MarinovSmart DevicesSMBSophia SalimSpot the Bug!Spotty BowlesSQLSteve SteinSyntax VisualizerTasktask cancellationTDDTechEd2008TechEd2009threadsTimothy NgTodd ApleyTroubleshootingTuplesTyler WhitneyUnit TestinguniversalUWPVBVB XML CookbookVB_ExpressVB2005VB2008VB2010VB2015VB2017VB6_Migration/InteropVisual BasicVisual Basic HistoryVisual Basic KinectVisual StudioVladimirWCFWebWebMatrixWindows PhoneWindows StoreWorkflowWPFXBox 360XMLXNAYoung Joo
    Top Bloggers
    .NET Team

    .NET Team

    Archive
  • March 2020
  • November 2018
  • June 2018
  • October 2017
  • September 2017
  • August 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • May 2015
  • April 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • June 2014
  • May 2014
  • April 2014
  • January 2014
  • December 2013
  • July 2013
  • September 2012
  • June 2012
  • May 2012
  • April 2012
  • February 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • November 2006
  • October 2006
  • September 2006
  • July 2006
  • June 2006
  • April 2006
  • March 2006
  • January 2006
  • December 2005
  • November 2005
  • October 2005
  • September 2005
  • July 2005
  • June 2005
  • May 2005
  • April 2005
  • March 2005
  • January 2005
  • November 2004
  • October 2004
  • September 2004
  • August 2004
  • July 2004
  • June 2004
  • May 2004
  • Stay informed

    Login
    Code Block
    What's new
    • Surface Duo
    • Surface Laptop Go
    • Surface Pro X
    • Surface Go 2
    • Surface Book 3
    • Microsoft 365
    • Windows 10 apps
    • HoloLens 2
    Microsoft Store
    • Account profile
    • Download Center
    • Microsoft Store support
    • Returns
    • Order tracking
    • Virtual workshops and training
    • Microsoft Store Promise
    • Financing
    Education
    • Microsoft in education
    • Office for students
    • Office 365 for schools
    • Deals for students & parents
    • Microsoft Azure in education
    Enterprise
    • Azure
    • AppSource
    • Automotive
    • Government
    • Healthcare
    • Manufacturing
    • Financial services
    • Retail
    Developer
    • Microsoft Visual Studio
    • Windows Dev Center
    • Developer Center
    • Microsoft developer program
    • Channel 9
    • Microsoft 365 Dev Center
    • Microsoft 365 Developer Program
    • Microsoft Garage
    Company
    • Careers
    • About Microsoft
    • Company news
    • Privacy at Microsoft
    • Investors
    • Diversity and inclusion
    • Accessibility
    • Security
    English (United States)
    • Sitemap
    • Contact Microsoft
    • Privacy
    • Manage cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2021