Thanks for your replay and going to implement the options your talking about , I don't know how to work with subroutine called when some event happen or how to have a subroutine running always like the application is running as one routine.
On help i don't see something about that for that i feel confuse.
thanks to all.