Currently I'm using the Microsoft Internet Transfer Control (v6). The icon for Inet is on my form and I use it with code like:
Dim objInet As Object
Set objInet = Me!axinettran.Object
objInet.Protocol = icHTTP
strURL = " objInet.URL = strURL
strAnswer = objInet.OpenURL(objInet.URL, icString)
This works well, but I'd like to get away from the form and use just a code module. I've tried:
Dim objInet As Object
Set objInet = New InetCtlsObjects.Inet
objInet.Protocol = icHTTP
strURL = " objInet.URL = strURL
strAnswer = objInet.OpenURL(objInet.URL, icString)
The above code doesn't generate errors, but the strAnswer always comes back blank.
Anyone have any ideas?
Thanks,
Brooks
Dim objInet As Object
Set objInet = Me!axinettran.Object
objInet.Protocol = icHTTP
strURL = " objInet.URL = strURL
strAnswer = objInet.OpenURL(objInet.URL, icString)
This works well, but I'd like to get away from the form and use just a code module. I've tried:
Dim objInet As Object
Set objInet = New InetCtlsObjects.Inet
objInet.Protocol = icHTTP
strURL = " objInet.URL = strURL
strAnswer = objInet.OpenURL(objInet.URL, icString)
The above code doesn't generate errors, but the strAnswer always comes back blank.
Anyone have any ideas?
Thanks,
Brooks