Skip to main content
Microsoft
Visual Basic
Visual Basic
  • Home
  • DevBlogs
    • 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 Community
    • PowerShell Team
    • Python
    • Q#
    • TypeScript
    • Visual Basic
    • Visual C#
    • Visual F#
    • .NET
    • ASP.NET
    • NuGet
    • Xamarin
    • #ifdef Windows
    • Apps for Windows
    • Azure Depth Platform
    • Azure Government
    • Azure SDKs
    • Bing Dev Center
    • Command Line
    • CSE Developer
    • Developer Support
    • DirectX Developer Blog
    • IoT Developer
    • Math In Office
    • Microsoft Edge Dev
    • Microsoft Azure
    • Office 365 Development
    • Old New Thing
    • PAX Media
    • 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

    Did you know? Archives | Visual Basic Blog

    The many cases of ByRef
    The many cases of ByRef
    Avatar VBTeam January 26, 2010 Jan 26, 2010 01/26/10
    One of the overlooked or simply misunderstood features of the VB language is calling a function which has a ByRef parameter.  Most languages support only a single method of passing parameters by reference [1], that is the scenarios directly supported by the CLR.  The CLR has a lot of restrictions on the type of values it supports for...

    0
    Did you know? There are many ways to insert a snippet into your code (Lisa Feigenbaum)
    Did you know? There are many ways to insert a snippet into your code (Lisa Feigenbaum)
    Lisa Feigenbaum Lisa Feigenbaum December 7, 2008 Dec 7, 2008 12/7/08
    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 ...

    0
    VB Catch … When: Why so special?
    VB Catch … When: Why so special?
    Avatar VBTeam October 9, 2008 Oct 9, 2008 10/9/08
    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 ...

    0
    Did you know? 300+ Visual Studio Tips & Tricks (Lisa Feigenbaum)
    Did you know? 300+ Visual Studio Tips & Tricks (Lisa Feigenbaum)
    Lisa Feigenbaum Lisa Feigenbaum September 22, 2008 Sep 22, 2008 09/22/08
    Did you know that Sara Ford just recently passed the 300 mark for her Visual Studio Tips & Tricks? Sara used to be a tester on the Visual Studio Core IDE team, and knows the IDE inside and out! I remember the first time I met Sara was 4 years ago when she was writing some automation and called to find out the expected ...

    0
    PInvoke Interop Assistant on CodePlex (Jared Parsons)
    PInvoke Interop Assistant on CodePlex (Jared Parsons)
    Avatar VBTeam June 20, 2008 Jun 20, 2008 06/20/08
    I'm happy to announce that the PInvoke Interop Assistant tool is now available on CodePlex.  This includes the binaries, source code and the dev authored unit tests.  It is hosted on the more general CLR Interop Tools page.  http://www.codeplex.com/clrinterop I will be actively maintaining this tool in the future and (hopefully...

    0
    Did you know? You can now manage your snippet highlighting (Lisa Feigenbaum)
    Did you know? You can now manage your snippet highlighting (Lisa Feigenbaum)
    Lisa Feigenbaum Lisa Feigenbaum March 15, 2008 Mar 15, 2008 03/15/08
    Do you use code snippets (introduced in VB 2005)? If you do, then you've probably noticed the green highlighting that stays around for the lifetime of the file. We've heard *a lot* of feedback that once you are done customizing the snippet, it is distracting to see this highlighting stay around. To address this, VB 2008 has improved the ...

    0
    Making PInvoke Easy
    Making PInvoke Easy
    Avatar VBTeam March 14, 2008 Mar 14, 2008 03/14/08
    Jared here again.  I very excited to announce we recently released a tool I've been working on to MSDN that will greatly help with using PInvoke in managed code.  The tool is called the "PInvoke Interop Assistant" and is included as part of a MSDN article on marshalling data for PInvoke and Reverse PInvoke scenarios.  Here is ...

    0
    Did you know? VB IntelliSense now filters as you type! (Lisa Feigenbaum)
    Did you know? VB IntelliSense now filters as you type! (Lisa Feigenbaum)
    Lisa Feigenbaum Lisa Feigenbaum January 11, 2008 Jan 11, 2008 01/11/08
    Our goal in designing VB2008 IntelliSense was to make users of the feature the most productive that they could be. One problem we found in watching people use the feature, is that sometimes intelliSense displays so many items that it is hard to know whether or not you're close to the item you're looking for. You basically have to read them all...

    0
    Did you know? What you can do with Debugger Datatips… (Lisa Feigenbaum)
    Did you know? What you can do with Debugger Datatips… (Lisa Feigenbaum)
    Lisa Feigenbaum Lisa Feigenbaum January 10, 2008 Jan 10, 2008 01/10/08
    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 debugger datatip: Next press the '+' to ...

    0
    Did you know? Ctrl+Tab to navigate windows in VS (Lisa Feigenbaum)
    Did you know? Ctrl+Tab to navigate windows in VS (Lisa Feigenbaum)
    Lisa Feigenbaum Lisa Feigenbaum January 9, 2008 Jan 9, 2008 01/9/08
    Just like Alt+Tab for Windows you can use Ctrl+Tab for Visual Studio. Ctrl+Tab will show you the active tool windows *and* the active files, so it is a good navigation tool for both. VS2008 has even added a cool miniature-sized visualization to this view, so that you can better determine which item you're after. Windows: Visual Studio:  ...

    0
    • Page 1
    • Page 2
    • 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