WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

WinInet
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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
File Created: 2017:07:28:13:58:47
Last Updated: 2001:01:25:15:03:18