>I've now used regsvr32. Then I coded createobject("altertable.altertable"), which is the name of my dll and the name of the class, as Vin suggested. Now I get a OLE error, unspecified error.
>
judy,
I'll bet you didn't have anything in the error handler. First, I suggest that you read MS KB article Q187908 on how to use COMRETURNERROR(). Second, to get you up and running now, try the following in the object's error event:
LPARAMETERS nError, cMethod, nLine
LOCAL lcmsg
lcmsg = TRANSFORM(nError) + ": " +;
MESSAGE() + " on line " + TRANSFORM(nLine)
COMRETURNERROR(cMethod, lcmsg)
RETURN
It might help you track down the problem.
George
Ubi caritas et amor, deus ibi est