Solved

find a machine on a peer-to-peer network

Posted on 1998-11-22
1
133 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
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…
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…

758 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

18 Experts available now in Live!

Get 1:1 Help Now