D
Dan
I developed a website that posts data to another url via the Inet object.
I should mention that the posting code is wrapped in a VB 6 dll, and that
dll is called from ASP.
Here's the ASP code:
<%
Dim objPostWrapper
Set objPostWrapper = Server.CreateObject("MyDLL.PostWrapper")
objPostWrapper.Process "http://www.someurl.com"
%>
Here's the code from the class in the VB 6 dll:
Public Sub Process(Byval url As String)
Dim oInet, strResponse As String
Set oInet = CreateObject("InetCtls.Inet.1")
oInet.RequestTimeOut = 20
strResponse = oInet.OpenURL(url)
Set oInet = Nothing
End Sub
That's pretty much it. Sometimes it works, other times it stops mid-process
and locks up the website.
Any idea what's going on? Is it some sort of threading issue, where I can't
use the Inet object from within a VB 6 dll?
Thanks in advance,
Dan
I should mention that the posting code is wrapped in a VB 6 dll, and that
dll is called from ASP.
Here's the ASP code:
<%
Dim objPostWrapper
Set objPostWrapper = Server.CreateObject("MyDLL.PostWrapper")
objPostWrapper.Process "http://www.someurl.com"
%>
Here's the code from the class in the VB 6 dll:
Public Sub Process(Byval url As String)
Dim oInet, strResponse As String
Set oInet = CreateObject("InetCtls.Inet.1")
oInet.RequestTimeOut = 20
strResponse = oInet.OpenURL(url)
Set oInet = Nothing
End Sub
That's pretty much it. Sometimes it works, other times it stops mid-process
and locks up the website.
Any idea what's going on? Is it some sort of threading issue, where I can't
use the Inet object from within a VB 6 dll?
Thanks in advance,
Dan