General information
Category:
Internet applications
Title:
MSInet - MS Internet Transfer Control ActiveX control v6.0
I wonder anyone could share some experience of using this ActiveX control in VFP. I'm trying to use this for http connection. I have a few questions.
1. stateChanged. In VFP, I can only see one event - stateChanged. State 8 or 12 does not seem to always fire after I execute a Post and a response is ready. But sometimes state 8 (icResponseReceived) after I called getHeader(). When stateChange is supposed to be fired in VFP?
2. hInternet. What is this property for? Initially it is set to 0. After a Post/Get, it is set to handle. However, after I cancel the request and connection, it still stays with that handle number. I am looking for a way to test to see whether the connection and request is there or not. How can I do that.
3. Error. After I repeated Cancel and Post/Get, sometimes error could occur in Post/Get. How can I check to see when I can do a Post/Get?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only