Yeah, like i say, kixforms doesn't really perform too well in a logon script ... it's meant to be used for windows interactive scripts ... login scripts are too "serial" or "top-to-bottom" to use kixforms effectively ... a better solution for login scripting (imho) is to use something like the logonscreen.exe activex control discussed elsewhere on this board ... it allows one to create a login window then to send messages to it at anytime during the logoin script ...

kixforms needs to have it's form built-up while invisible, then it has to get into it's event loop so that the controls can get initialized and visible ... so for example, the best way to fix the problem your having right now is to move your $form.show closer to your event loop, like this:


$Form.Show
While $Form.GetEvent
LOOP

-Shawn