InternetCheckConnection in VB6 returning false

Posted by user191582 on Stack Overflow See other posts from Stack Overflow or by user191582
Published on 2010-05-20T00:52:17Z Indexed on 2010/05/20 1:00 UTC
Read the original article Hit count: 177

Filed under:

Hi all, Not a VB6 expert... Trying to come up with a VB6 test app that calls InternetCheckConnection. In my test app, InternetCheckConnection always returns false regardless of the URL I use. I copied and pasted this code from a larger spaghetti-code app, but in the spaghetti-code, InternetCheckConnection seems to work fine, returns true.

Is there some other function I have to call first in order for InternetCheckConnection to work?

© Stack Overflow or respective owner

Related posts about vb6