Dorris,
There aren't that many possibilities
(1) typo - Method name in the class or method name used to call
(2) if you can call it from within the form but not from outside - it will be hidden/.protected
Check by opening the class, menu: Class | Edit property/method
(3) ChkStatus may be defined as a property (happens to me too) and you are calling it as a function, ie ChkStatus()
Success,
>Not to my knowledge
>
>I created the form and saved it as class with the
Form.SaveAsClass method
>
>
>>ChkStatus wouldn't be protected/hidden by any chance ?
>>
>>
>>>That also returns property ChkStatus is not found
>>>
>>>And yes, the method does exist and it does have code in it.
>>>
>>>>Did you verify in the Class Designer that method does exists? Try
>>>>
>>>>cb.chkstatus()
>>>>
>>>>>
>>>>>I've got a form that has an ActiveX control. I've saved it as a class. So, far - golden
>>>>>
>>>>>There is a method, chkstatus, that I created as a form method, resaved as class, but the class doesn't recognize the method. In other words, in the command window
>>>>>
>>>>>cb = createobj("chkBio") &&no problem, cb is created as an object
>>>>>cb.activate && works, prints out dummy information that I stuck in there to see if it was running
>>>>>cb.chkstatus && Says "Property CHKSTATUS is not found
>>>>>
>>>>>
>>>>>Ok, so what am I doing wrong?
Gregory