Define an object?
-
Tdate is a class I defined. Then in visual basic,how to define object from Tdate? I find out "Dim td as new Tdate()" is popularly used,and I did not see "dim td as new Tdate"? Where can I find that tutorial about how to define objects or variables in visual basic? Thanks. this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
-
Tdate is a class I defined. Then in visual basic,how to define object from Tdate? I find out "Dim td as new Tdate()" is popularly used,and I did not see "dim td as new Tdate"? Where can I find that tutorial about how to define objects or variables in visual basic? Thanks. this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
There are several locations on MSDN:
- Visual Basic .NET Code Sample: Object-Oriented Features in Visual Basic .NET[^]
- Walkthrough: Defining Classes[^]
- Object Lifetime: How Objects Are Created and Destroyed[^]
- Using Constructors and Destructors[^]
"The greatest danger to humanity is humanity without an open mind."
- Ian Mariano - http://www.ian-space.com/ -
There are several locations on MSDN:
- Visual Basic .NET Code Sample: Object-Oriented Features in Visual Basic .NET[^]
- Walkthrough: Defining Classes[^]
- Object Lifetime: How Objects Are Created and Destroyed[^]
- Using Constructors and Destructors[^]
"The greatest danger to humanity is humanity without an open mind."
- Ian Mariano - http://www.ian-space.com/