Re: ADOConnection - odd problem solved but why?
From: Moi (jcema_at_rocketmail.com)
Date: 12/27/04
- Next message: ATM Dude: "Re: string to array conversion"
- Previous message: change2718_at_yahoo.com: "Re: HOW to read particular bytes from a large file effeciently?"
- In reply to: Peter Piper: "ADOConnection - odd problem solved but why?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 27 Dec 2004 16:07:18 -0500
Peter,
Do you close your connection in your code before terminating the app ?
If so, where ? Could it be that you release the form before closing the
connection ?
Marcel
"Peter Piper" <NoEmail@Email.com> a écrit dans le message de
news:cpmk58$q03$1@hercules.btinternet.com...
> I have a form with an ADOconnection and two tables.
> The form is created on the fly (ie. not auto created).
> When i close my application i get an Access Violation Exception unless
> the ADOconnection Connected property is set to true at *design time*.
> Set to True at design time, no exception.
>
> I have used ADO in nearly every big app I have ever wrote and never had
> this before.
>
> Now all I can think is because the are more than one instances of the
> form something odd is happening. Why settings connected to true should
> solve this i dont know.
>
> Maybe an application cannot handle more than one ADO connection at once
> to the same database - ???
>
> Any one any ideas?
>
> Cheers Pete.
>
>
- Next message: ATM Dude: "Re: string to array conversion"
- Previous message: change2718_at_yahoo.com: "Re: HOW to read particular bytes from a large file effeciently?"
- In reply to: Peter Piper: "ADOConnection - odd problem solved but why?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|