Here just an OK button:

$message = "An error occurred while running the logon script. " +
"Forward the text of the 'logon.log' to your support team."
$x =MessageBox($message,"Script Error",4160, 30)


Here is the OK/Cancel:


$message = "An error occurred while running the logon script. " +
"Forward the text of the 'logon.log' to your support team."
$x =MessageBox($message,"Script Error",4161, 30)
_________________________
Home page: http://www.kixhelp.com/hb/