?
Solved

find a machine on a peer-to-peer network

Posted on 1998-11-22
1
Medium Priority
?
177 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 450 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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 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…
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 Month8 days, 11 hours left to enroll

765 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