Subject Re: [ib-support] Re: win98 connections
Author Paul Reeves
Jill Thomson wrote:

> Take a clean computer. Do not install a network card. Network Neighborhood
> will not be installed. Reject Windows' suggestion to enter a user name and
> password. The computer will not have an IP address, or a name.
> Is there a function that can be run to detect this condition? As the hosts
> file will not exist (only as hosts.sam) we can test for that.

Absence of a hosts file, of course just indicates that the tcp/ip stack is not
installed, not that networking is unavailable. You could try to see if the
COMPUTERNAME environment variable is set. You could also play around with the
NET commands. But it is a long time since I used a non-networked PC (or Win9n,
for that matter) so I have no idea what to expect under those conditions.


Paul Reeves
taking InterBase further