Solved

Share objects between computers

Posted on 2001-06-04
7
162 Views
Last Modified: 2010-05-02
Does anyone know how to share an object between computers.

The easyest way for me to explain:  Take a variable X and assign it a value of 10.

I want all computers on the network to be able to get the value 10.  The actual object I am trying to transfer between computers is an ODBC D3 database connection.

Thanks in advance,
0
Comment
Question by:jonder
7 Comments
 
LVL 2

Expert Comment

by:skhorshid
Comment Utility
use a file dsn and place it on a network directory.
0
 
LVL 5

Expert Comment

by:Droby10
Comment Utility
or use dcom...

0
 
LVL 2

Accepted Solution

by:
smkkaleem earned 50 total points
Comment Utility
Make Dlls and place them intside MTS sitting in the NT Server in the form of a package. All other computers can access those DLLs by creating an instance of any object they want to access...
0
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.

 
LVL 1

Author Comment

by:jonder
Comment Utility
Once the first computer creates the Connection to the D3 database, that's it.  I don't want any other computers creating a new connection, I would like the connection the first computer created to be shared.
0
 
LVL 2

Expert Comment

by:smkkaleem
Comment Utility
As far as i know, you can enable connection pooling. However, even in case of connection pooling, you would not be able to use the first connection if it is already been in use by one client. In that case a new connection would be started. However, if the first connection created has been released by the creating client, it will be avilable to be pooled for any next user requiring it...
0
 
LVL 49

Expert Comment

by:DanRollins
Comment Utility
Hi jonder,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:

    Accept smkkaleem's comment(s) as an answer.

jonder, if you think your question was not answered at all or if you need help, you can simply post a new comment here.  Community Support moderators will follow up.

EXPERTS: If you disagree with my recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:Computer101
Comment Utility
Comment from expert accepted as answer

Computer101
E-E Moderator
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

771 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