>I have a class named "myclass" in c:\data\classlib.vcx where a.vcx is my class library
>
>then i have this few codes in my prg file to call "myclass"
>
>set path to c:\data\
>set classlib to classlib
>
>frmDetail = createobject("classlib.myclass")
>frmDetail.show
>read events
>
>However, I got this error msg when it tried to create the object from the class, "Error instantiating the object", saying from the Help that "The server for the object is not registered properly, resources are low, or a required .DLL isn’t present."
>
>What does this means?
>Thanks.
Mark pegged it. The way you phrased your CREATEOBJECT is used when calling a COM server. when calling a regular VFP class, just use the name of the class.
Erik Moore
Clientelligence