Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Don't know how to program for LAN...

Status
Not open for further replies.

aliinal

Technical User
Jun 26, 2001
104
TR
I've never programmed for LAN's before.
But i have to do one for now.
The logic is simple...
One main data file will be placed on main server other terminals will access this file for reading/writing...
How can i access a file on another terminal?

Thanks for your helps...
 

psFilePath = "\\NAMEofSERVER\PATHtoFile"

iFile = FreeFile
Open psFilePath For Input As #iFile

Do Until EOF(iFile)
Line Input #iFile, sCurrentLine
'Do something
Loop
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top