I have an ActiveX control with a method that is define as follows:
int GetNumberOfImagesInFile(string FileName, ref int Error)
I have the control on my panel and it's named BIDIB1.
I'm getting a Microsoft VBScript runtime error identified as a "Type mismatch" with this statement:
nbrItmes = BIDIB1.GetNumberOfImagesInFile(strTheFileName, lTheErrorCode)
Has anyone encountered this kind of situation? My research indicates that this should perform without problem.
I appreciate any help.
Thanks,
Gary