Solved

find a machine on a peer-to-peer network

Posted on 1998-11-22
1
169 Views
Last Modified: 2012-05-04
I have developed a small program for use at our local shooting-range.  We have two computers connected through network-cards/coax.  Pc no. 1 register information about the shooter, pc no.2 register shooting result and then pc no.1 print out the result.  They are both working on a .mdb file on pc no. 1, and I use a common dialog to connect pc no. 2 to the .mbd file.

Is there a way for me to get my program to automatically find the other pc on the network and get the name of the .mdb-file ??
0
Comment
Question by:Anthon
[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
1 Comment
 
LVL 3

Accepted Solution

by:
traygreen earned 150 total points
ID: 1446197
Sure,
On computer 1 share the drive on which the MDB exists.
On computer 2 map the drive that you shared on computer 2
From there it is pretty easy to do.
Just use your common dialog to allow the user/program to attach to the mdb, or better yet, store the path in an ini file for connecting to the database.  Then you would only display the dialog if the file or computer is unaavailible
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

740 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