Solved

Using a RDO connection from a different program

Posted on 1998-07-22
2
128 Views
Last Modified: 2010-05-03
I wrote 10 different client server applications for SQL-Server. Now, my problem is that this uses 10 different connections on SQL-server. Is it possible for a VB app to use a sql connection from a different vb app.
0
Comment
Question by:evertd
2 Comments
 
LVL 9

Accepted Solution

by:
cymbolic earned 200 total points
ID: 1466390
Yes.  You need to do connection pooling via an OLE process to conserve connections.  That is you would write an out of process OLE database server.  It would establish the connection(s), and your client routines would perform I/O using methods to the OLE Server.  ANother advantage of this techinique is that you have consolidated all your database I/O in one piece of code, thereby making it possible to collect central measurements and to easily convert to another database.  This also provides an abstraction layer between your business logic and your database logic, and prepares you to move your application into an n-tier mode, eventually migrating your ole server through dcom into a separate machine, and distributing your application to handle higher volumes.
0
 
LVL 2

Author Comment

by:evertd
ID: 1466391
oke, but it is not so easy as a thought because all the programs are already written, so I have to rewrite them.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now