George
3/25/2005 6:30:00 PM
Hi all,
I'm using ODBCConnection to paradox database. It works fine but when I open and close connection repeatedly, I found that amount of memory and number of handles is growing and resources used by odbcconnection are not released.
I'm using the following construction:
Dim objConn As New OdbcConnection
objConn.ConnectionString = ConnectionStringZoner
objConn.Open()
objConn.Close()
objConn.Dispose()
OdbcConnection.ReleaseObjectPool()
GC.Collect()
I have also tried objConn = nothing but nothing has helped.
Can anybody help me, please?
Thanks for any tip
Regards
George