Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


iGetConState(0) Returns 1 for No Connection

Keywords:   iGetConState(0) Returns 1

Question:

Thanks again for the previous help. I have another issue: I run it on a Win95B(OSR2) system with IE 4.01 SP2, and iGetConState(0) Returns 1 even there is no internet connection.

Answer:

How does this machine connect to the internet?

Via LAN??? a modem???? a proxy server???

Try running the following...

ret=iGetConState(1)
message("How is the user connected?",ret)
If it returns 8, then that is because the modem is busy with a NON-Internet connection

8  INTERNET_CONNECTION_MODEM_BUSY  Local system's modem is busy with a non-Internet connection. 
IF its a LAN connection, iGetConState(0) will always return 1.....

2  INTERNET_CONNECTION_LAN

Article ID:   W14341
Filename:   iGetConState(0) Returns 1 for No Connection.txt