loQuery = Createobject("qw_query",lcQueryID) MESSAGEBOX(TYPE("loQuery")) loQuery.ExportQuery("XL5",lcFilename)In the application where I call this script I have a next code
SET CLASSLIB TO mks_query.vcx ADDITIVE llReturn = EXECSCRIPT(lcTable.MemoField)Well... I have an error "mks_query.vcx" does not found.. and program offer to locate file on the disk (like a file does not included inside exe). Type("loQuery")="U" !
SET CLASSLIB TO mks_query.vcx ADDITIVE oCheck = Createobject("qw_query", lcQueryID) MESSAGEBOX(TYPE("oCheck")) llReturn = EXECSCRIPT(lcTable.MemoField)Now.. when I run application oCheck is object.. and script executed without error (TYPE("loQuery")="O"!!!)