Wow! You are all good! I have never received such a response on any forum ever before.
After learning a few different languages from documentation, books, etc., I have learned to only trust those who use the language everyday. I rarely take examples from a book or documentation without first consulting a forum such as this. Although, comparing the KiXtart manual with your responses, I find KiXtart's reference to be better than most.
I have one more question though. I have not been able to find the answer in several searches so far. How would I include a line break and a hyperlink within a message box?
Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Because there's an error in line 24 of your script. You did not post the complete script. KiXtart has a build-in LOGOFF function, use it! In case of a simple YEs/NO you only need to test for one condition, thus an IF-ELSE-ENDIF is sufficient. Why do you log them off in either case, anyway?
_________________________
There are two types of vessels, submarines and targets.
It is one of those corporate "emergencies" and the higher powers that be are "requesting" that there be a pop-up only allowing users to log in to the network if they agree to the e-mail and internet policy. I am sure you know what I mean.
Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
code:
$message = "Internet and e-mail policy text" + @CRLF + @CRLF + "Do you accept the Internet and E-Mail Policy?" $title = "Window Title" $Selection = MessageBox($message,$title,4096+4+48+256,300) If $Selection = 7 ; log user off RC = LogOff(1) endif
[ 18. June 2003, 22:06: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.
Argh... Does the Logoff() function just not work in Win9x?
The script still does the same thing. If you click "No", the login script windows simply close. The login dialog box doesn't reappear, and no other errors occur. In order to login after that, you need to reboot the system. We have the necessary DLL's and EXE's mapped in the login script, but I also have them loaded into the Win9x machine as well now but it didn't make any difference.