>I have a project, Using the project manager, I have created a new class called pager.vcx
>Next, I seleted the pager class. Then clicked on "new", and created another class,
>this called Hello, custom class, and stored in the pager bass class.
>The code in the int of Hello() is
>wait wind "hello "
>
>Now how do I call Hello() from a program? How do I do this? I have tried
>
>SET CLASSLIB TO c:\page0\pager
>CD c:\page0
>pager.hello()
>
>But the program does not know what hello() is ????
>Thanks
>Steve Elster
All you've done is set your class library so that your class can be found.
Try this:
SET CLASSLIB TO C:\page0\pager
oPager = CREATEOBJECT("Pager")
oPager.Hello()