Points: 53175

8/26/2015 11:08:48 AM

Visual Studio Code Snippet Tutorial

* This article, and all our great .NET Development documentation, Is available on the .NET Development menu

If you code in Visual Studio, there are things that you do over and over. I try as much as possible to reduce the repletion because it just goes faster, and I'm impatient like that.

That's why we started this site and, to blog all the cool code samples so that we only type them once.

To that end, I type this all the time:


Sub TestSub()
       Catch ex As Exception
           ErrorHandler.globalErrorHandler(ex, True)
       End Try
   End Sub

I created a Code Snippet to automate the typing. If you've never seen how a Code Snippet works, you really should read this.
Version: All
Section: Visual Studio Tools for Dynamics GP,.NET Development
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables