Actually, after much tweeking I found the right moment to diplay the login form before "restoring" the window. Seems to work well, just have to fix a little bug with other Windows that hide and never restore themselves, but I think I know what's causing that. :-)
Thank you all for your input! :-)
________________________
Ben Santiago, MCP & A+
Programmer Analyst (SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS)
Eastern Suffolk BOCES - Student Data Services
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
-Rich Cook