Solved

Using a RDO connection from a different program

Posted on 1998-07-22
2
132 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 10 start screen issues 9 55
MS Access Search and Replace Using VBA 6 80
MsgBox 4 68
RUNRMTCMD from AS/400 12 68
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

856 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