Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Visual Basic 6 Connection With Sql Server 7


Message #1 by "Dilip Kedia" <dilipkedia@y...> on Wed, 4 Oct 2000 17:54:55 +0100
A global connection object is the key, but you probably shouldn't just open
it and hold it until the application closes down.  This takes up a lot of
resources, and will require one server connection license per workstation
connected.  A better solution is to open the connection at the latest
possible time before use, then close it immediately after use.  Even better
would be to use a DCOM object that can pool connections for many users.
This way, if you have 100 users, you may be able to get by with 5 or 10
licenses, rather than having to purchase 100.  It will also be less load on
the client machine and less network traffic.



------------------------------------------------------
Christopher Tacke, MCSD
Associate
Rubicon Technologies
(xxx) xxx-xxxx  Ext. 319



  Return to Index