You cannot DEFINE CLASS in form. If you want to built this code into a form you'll have to take it appart and put into appropriate places.
>Does anyone know anything about Forms within FoxPro 8, i am having difficulty trying to insert the following code into a form. Fox keeps erroring saying cannot define class or nested procedures. Any help would be appreciated in connection with print monitor queues API call Job_info.
>
<snip>
--sb--