|
m_AS400 = new AS400(HostName, sUsername, sPassword); m_AS400.setGuiAvailable(false);> return m_AS400.validateSignon();
However when I execute the 1st statement, it pops up the sign-on dialog, I would like to get an exception if the logon failed, and then I can trap that and give a suitable warning to my clients. My problem is that I am running server code and it would not be nice for this pop up to start and user not being aware of it.
david
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.