To keep the Connection opne What I did is I add a form to the Active X Exe. I loaded the form in the module and set the threading to be pooled to 16.
Now when the request comes from the client one by one all the threads are activated and keeps the database connections(Or other connection) open...
Dear Open a Global Connection Object so Whenever Hits Comes To ur EXE Instead of Opening new COnnection Just Refer to That Connection.
happy Programming
Manu
Hi Friend Use GetObject("EXEname.ClassName") Instead of Using CreateObject. using getObject ur Client Will get the refrence of the Object already Running if No Object is Running then it Will create new.
Problem is Solved........
Manu
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.