Change the class templete

Want to change the existing class templete to include comments, author name, imports etc. foll the steps.

1. open class.vb in any editor form

C:\Program Files\Microsoft Visual Studio .NET 2003\Vb7\VBWizards\Class\Templates\1033\class.vb

2. And add the code, comments you want.

Imports Microsoft.Office.Interop       Imports System.Windows.Forms
Imports Microsoft.VisualBasic
Imports System.Type
Namespace HRMS
' **************************************
' Author :
' Date   :
' Version:1.0
' **************************************
 Public Class [!output SAFE_ITEM_NAME]

 End Class
End Namespace

NOTE : DO NOT CHANGE Public Class [!output SAFE_ITEM_NAME] this line in the code. This is the class name you enter.

3. Save the file.

And start using the new class templete.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.