>Here is a code that generates a compiler error:
>"Unable to find Visual class library ERROR"
>NEWOBJECT('frmMessageBox', 'base.vcx', '', ThisForm, ;
>'This barcode is not recognized as a User ID. ' + CHR(13) + ;
>'Click OK if you want to scan the ID again', 'Error', 2)
>
>If I remove CHR(13) then it compiles without the error. What am I missing?
>
>Thanks
Mark,
I believe error is not in this line but happens due to something in frmMessageBox.init code (or on error routine etc).
Cetin