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
Solved

Share objects between computers

Posted on 2001-06-04
7
170 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
ID: 6154504
use a file dsn and place it on a network directory.
0
 
LVL 5

Expert Comment

by:Droby10
ID: 6154625
or use dcom...

0
 
LVL 2

Accepted Solution

by:
smkkaleem earned 50 total points
ID: 6155030
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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 1

Author Comment

by:jonder
ID: 6155737
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
ID: 6156713
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
ID: 7132882
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
ID: 7167839
Comment from expert accepted as answer

Computer101
E-E Moderator
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

828 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