I have created some class structures that are the base elements of a program that i am writing .
A part of this program should also be a custom control . That also uses this same base classes .
When want to pass the base-classes to the custom control i get a 'type mismatch error' . Nevertheless it are the same classes .
Call ucObsCalc.SetMembers(myChart, myServerClientBinding, _
nMyPatKey, sMyPatCode, sMyPatName, _
dPDate, sMyUser, nMyUserLang, _
sMyCentDir, "localhost", 2020)
The problem is situated in the myChart-Class, that because i also have
written a public SetMembersDummy function without the myChart , and then i
don't get a type mismatch .
The BaseClasses i have written are in a exe-project where everything is
PRIVATE . In the custom control on the other hand all the parameters that
should be passed have to be public . Is this why he complains ?
Is there anybody that can give me some advice ? This can't be so hard , ...
It's only the first time i do it ...
Hoping to hear from you .