R
Robert Dufour
I have two classes , class1 and class2
In class1 I have
Public Overload function Fct1(paramlist) as string
some code
end function
Public overloads Function Fct1(otherparamlist) as string
some code
end function
In class2 I have
Private sub use fct1
Dim str as string
str = class1.fct1(paramlist)
end sub
In the IDE fct1 in class two shows an error reference to a non-shared member
requires on object reference
What am I doing wrong? Can anyone point me in the right direction?
Thanks for any help.
Bob
In class1 I have
Public Overload function Fct1(paramlist) as string
some code
end function
Public overloads Function Fct1(otherparamlist) as string
some code
end function
In class2 I have
Private sub use fct1
Dim str as string
str = class1.fct1(paramlist)
end sub
In the IDE fct1 in class two shows an error reference to a non-shared member
requires on object reference
What am I doing wrong? Can anyone point me in the right direction?
Thanks for any help.
Bob