• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 155
  • Last Modified:

Could someone please explain the default New() Procedure as in the example.

Could someone please explain the default New() Procedure as in the example. Or could you point me to a resource online that offers a good description and purpose of this New() procedure.
eg

Class MyClass

Public Sub New()
'Code...
End Sub

Public Sub MyProcedure1()
'Code...
End Sub

Public Sub MyProcedure2()
'Code...
End Sub

End Class
0
pgilfeather
Asked:
pgilfeather
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
NEW() contains the constructor code for the class:
http://www.startvbdotnet.com/oop/constructor.aspx
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now