Question:
How can I set up the E3Viewer to close in case of a failed login attempt?
Solution:
To do so, write a script to check the value returned by Login command. If it returns FALSE, use E3 Viewer’s Exit() method to close it.
Example:
IF Application.Login(TRUE) = FALSE then
Application.Exit()
END IF
Application.Exit()
END IF