?
Solved

Using a RDO connection from a different program

Posted on 1998-07-22
2
Medium Priority
?
135 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
cymbolic earned 600 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month14 days, 14 hours left to enroll

770 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