Re: Cannot Connect ADOConnection at Run-Time



does it give and error or anything? just nothing?

I 'm wondering if it retained the signon parameters... when you look at the
connection string did it keep the password... my ole db provider for as/400
refuses to keep the password. I have to provide in the 'willconnect????'
method... just type:

password := 'theStinkingPasswordGoesHere';

and see if it works for you...

b
"Mike Sandoval" <NoThankYou@xxxxxxxxxxxxxx> wrote in message
news:426d6731$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> Hi All,
>
> Can someone please help?
>
> I am using TADOConnection in an application and when I set the Connected
> parameter to True in the Object Inspector I can connect and
> disconnect at will at Run-Time; however, if I set the Connected Property
> to False at Design-Time, I cannot Connect in Run-Time.
>
> Is there another Property I need to set?
>
> I am using D7 Enterprise, XP Professional, and connecting to an Access
> 2000 MDB.
>
> Thank you in advance.
>
> Regards,
>
> Mike


.



Relevant Pages

  • Re: ADO Connection
    ... I've used the Connected Property of the ADOConnection the check if the ... > checks the connection periodically. ... > disconnected, or lost connection. ... I'm sure its a event in the ADOConnection. ...
    (borland.public.delphi.database.ado)
  • Re: [SOLVED] Cannot display provider-specific login prompt
    ... scenario where the program wouldn't have to know about the database, ... ConnectionStringBuilder up to a PropertyGrid for the end user to populate), ... details of the connection, for the sake of the program being able to connect ... information about the connection string that I will need. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Complicated Connection Problems bewteen ADP and SQL Server
    ... front end on the 5-8 workstations where the users happen to sit. ... expertise for getting the user workstations talking to the SQL Server. ... connection would fail and the adp wouldn't be able to talk to the server. ... thought that I should instead change my connection string to something ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Fujitsu NetCobol 8.0
    ... You cannot use a connection string in the way you have shown and expect it ... Any Fujitsu NetCobol / PowerCobol users here? ... Use the ADO control provided in PowerCOBOL, ...
    (comp.lang.cobol)
  • Re: ASP.net and Oracle error System.Data.OleDb.OleDbException
    ... Also see http://www.connectionstrings.com/ and try other providers ... > Here is some of my connection code: ... >> And are you sure your connection string is ok. ... >>> Oracle error occurred, but error message could not be retrieved from ...
    (microsoft.public.dotnet.framework.aspnet)