[ Courtesy cc'ed through e-mail to the original quoted author ]
>>We've got a system in VFP5 that works across a network (microsoft
>>networking under win95). All the data is stored on one machine and each
>>other machine runs the executable sourcing the data from the main
>>computer, which all works very nicely indeed. We are looking at having a
>>new machine in the warehouse 60-70 meters from the main office. As a
>>side to this I was wondering if there is a function that I can call that
>>will tell me which machines are connected to the database, and is there
>>a way to send basic messages (a la winpopup) from with VFP. Its not a do
>>or die thing but it may be handy. Anyone ever done this? Also is this
>>distance to far for simple IPX network leads, I've read somewhere what
>>the maximum distance is but I cant remeber where?
>>Thanks in advance
>I think Win95 supports the net send command, but you can check by opening a
>dos window and typing net send /? If it is supported, it will show you the
>necessary switches and you can run that through a dos call via run send ....
>or you can use shellexecute. Additionally, I'm sure there is an api call
>that allows that. As to the distance, ethernet over a fiber optic line
>would probably suffice.
In addition, as you are running multiuser application, you would probably want
users logging into your system; the information from the resulting USERS table
is quite handy for determining which computers are connected to the database.
Also, if I am not mistaken, 70m is quite within length limit even for Thinware
(coax, a.k.a. 10Base-2) Ethernet; 10Base-T has even less strict limits (some
[ When replying, remove *'s from address ]
Alexandre Pechtchanski, Systems Manager, RUH, NY