OK, thanks for information.
I'm was resolving problem writing the class for reuse the code.
Thanks,

Marcelo E. Geyer.