>Hi Cetin
>
>I solved this problem by using VFPPing library but now I having problem when I run the form. It doesn't stay on the screen. It flashes and goes. This heppend only when I run executable. I am also using systray library to put the form in system tray.
>
>Can you pl. help me on this.
>
>Thanks
>
>Ashish Patel
Ashish,
Add
'read events'
and 'clear events' to exit point. ie: Main.prg
*Preparation code
do form ... && Clear events where 'exit' code is
read events
* Cleanup code
Cetin