Solved

find a machine on a peer-to-peer network

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
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…

778 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