Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : Visual Studio .Net 2005 does not release the connectionSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v7 Forum

 New Topic 
 
 Post Reply 
[1]  
 Visual Studio .Net 2005 does not release the connection 
 Author   Message 
  Piyush Varma 
  
 Group: Members 
 Posts: 66 
 Joined: 2006-04-06 
 Profile
 Posted : 2007-09-26 04:04:01
Hi,

I am using QODBC V7.10.00.231 with VS 2005 .Net. I am using Odbc namespace to open and close the QODBC DSN but the connection is still open. I have to to the task manager and End QBW32.EXE Process and then and only then I can open another connection. What can I do to fix this? The VB6 program is able to successfully close the ODBC connection. Thank you very much. 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-09-26 09:13:53

Most likely this is a question better posted on the MSDN forums, how have you closed the recordset connection?

Public Sub CloseRecordset(rst As ADODB.Recordset) As
    Dim dl As DataLayer
    Set dl = New DataLayer
    dl.CloseRecordset rst
End Sub

Note: If your application runs as a service, then it might take the Windows O/S up to ten minutes to "actually" release the connection.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to