suppress message when cancelling connect



Hello,

i use Delphi2005 german update 3.
At start i check, if my TADOConnection(dbGo) will connect before user can
enter his data for login. This can happen because for test purposes i have
the connection open at design time and sometimes i forget to set it back
before sending the update to the customer, but the customer has other login
parameters, so the automatic connect should be stopped.
I do this in OnWillConnect event where i set EventStatus := esCancel. This
is working, only the message that "action was cancelled by user" is
unwanted.
What can i do to suppress this message?
Or any other idea how to stop this (without using the standard login prompt
or a splash screen)?
The problem is that the Connect is done before the create event is
activated and in the initialization section the connection object is not
known.

thanks,
Helmut
.



Relevant Pages

  • Replacing pix515 with ASA5510 results into MTU problems.
    ... website. ... Everything else is working exept the login procedure. ... The customer lowered the MTU and indeed, ...
    (comp.dcom.sys.cisco)
  • Re: What is the best way to login my website from another website?
    ... I've also used a solution for public domain "single sign on" scenarios where ... we've delivered a "public key" to the customer to encrypt a user name and ... we would then unencrypt it and use the the credentials to authenticate the ... least each time a new login request is issued). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Using WSS as Extranet for Customers
    ... I missed the original post on this one, but I'm wondering why the login page wouldn't just be a plain ASP.NET page. ... With WSS installed on the server, if it was installed on the default port 80, you will need to add the path to the ASP.NET login app to your managed path list. ... We'd> like to use some of the same features for a customer extranet to track> projects and share documents. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: [PHP] Login script login
    ... Its in the comparison login for the db result. ... customer number ... If all is ok set sessions, got this ok, and proceed. ...
    (php.general)
  • Re: [PHP] Login script login
    ... Its in the comparison login for the db result. ... Having a grey brain moment here and need some advise on the logic of this, should be simple, login script. ... customer number ... If all is ok set sessions, got this ok, and proceed. ...
    (php.general)