G
Guest
I built a class in VB.NET that has an overloaded constructor. It can either accept nothing, a string or an object
Public Sub New(
MyBase.New(
End Su
Public Sub New(ByVal strName As String
MyBase.New(
'... Do init with strNam
End Su
Public Sub New(ByVal oObj As MyObjClass
MyBase.New(
'... Do init with oOb
End Su
If I enter these lines in Access
dim x as MyClas
set x = new MyClass("SomeName"
then I get an error
How can I expose all constructors of my class in Access2003 or VB6
All help will be very much appreciated
Ver
Public Sub New(
MyBase.New(
End Su
Public Sub New(ByVal strName As String
MyBase.New(
'... Do init with strNam
End Su
Public Sub New(ByVal oObj As MyObjClass
MyBase.New(
'... Do init with oOb
End Su
If I enter these lines in Access
dim x as MyClas
set x = new MyClass("SomeName"
then I get an error
How can I expose all constructors of my class in Access2003 or VB6
All help will be very much appreciated
Ver