>The main program contains the same code as the ole public method but does not call the olepublic method.
>
>Main prg:
>
>do form sv_start.scx
>read events
>
>ole public:
>
>define class svcomm as custom olepublic
>
>procedure startexe
>
>do form sv_start.scx
>read events
>
>
>endproc
>
>enddefine
>
>Thanks for showing an interest.
In the form's UnLoad event (or Destroy event) add the following:
clear events
The application is remaining in a wait state even though the form is released.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao