Hi sergey,
i tried the code which u have given, it works fine but again crashes when the current form has a grid control currently having the focus.
you pls try it at your end. just make a sample form with a grid bound with a cursor and have the focus on the grid, and then from the menu select the logout option(having the code which u have send me).
Thank You.
Yours Truly
Riyaz Patanwala
Riyaz Patanwala
I. T. Programmer
Al Jaber Energy Services L.L.C.
P.O.Box 47467
Abu Dhabi, U.A.E.
Tel - +971 2-502-1644
Fax - +971 2-554-6106
Cell - +971 50 358-0229
Email -
riyaz.patanwala@ajes.aeWebsite -
www.ajes.ae