>>>
>>I tried it but I cannot create an instance of the object at all using CREATEOBJECT(). Using NewObject(oReport,'ProductionRun','AvailReport.exe') does not work either.
>
>You create an instance the same way as with STDLL.
>
>
>loRep = CREATEOBJECT("<ProjectName>.<ClasssName>")
>
I did that and it returned the "Class definition not found." error. I tried registering the exe as follows: regsvr32 availreport.exe and it failed because its not a DLL or OCX.
ramil
~~ learning to stand still