In VB6 the following syntax are as follows...
List1.Font.Italic
List1 = Method
Font = Property
Italic = What?? Is this a collection?
And how would I replicate this "Italic" using ActiveX DLL.
Example Categories:
- File IO Routines (CFileIO.cls)
- Conversion Routines (CConversion.cls)
- String Routines (CStrings.cls)
I 'm trying to create a DLL which consist of several categories (classes) and would like to combine these
three classes into one ActiveX DLL like the example below.
I 'm trying to avoid declaring these classes individually like...
Is this possible with VB6?
List1.Font.Italic
List1 = Method
Font = Property
Italic = What?? Is this a collection?
And how would I replicate this "Italic" using ActiveX DLL.
Example Categories:
- File IO Routines (CFileIO.cls)
- Conversion Routines (CConversion.cls)
- String Routines (CStrings.cls)
I 'm trying to create a DLL which consist of several categories (classes) and would like to combine these
three classes into one ActiveX DLL like the example below.
Dim MyDLL As New CCustomDLL
Debug.Print MyDLL.FileIO.FileInfo("c:\test.txt")
Debug.Print MyDLL.Conversion.Meter2Feet(100)
I 'm trying to avoid declaring these classes individually like...
Dim MyFileIO As New CFileIO
Dim MyStr As New CStrings
Dim MyConversion As New CConversion
Is this possible with VB6?