- Oct 11, 1999
- 7,804
- 1
- 0
Ok here's the deal...I have a application in VB.NET that constantly updates a website made in VB.net as well. That works fine. Also the website also writes that data to a text file every update.
Now I have another VB6 application that at a set interval downloads the aforementioned txt file to the local computer. It uses the Internet Connection control that's part of VB6.
Now here's the problem, when I'm running the VB6 application to dnload the text file, it somehow causes the website to crash, which stops the uploading application from uploading data. I can't figure out why.
And if I load up that textfile in a browser and hit refresh continously, the site doesn't crash. It only crashes if my downloading application is running.
Here's my code in teh VB6 downloading application that pertains to the actual downloading part.
Thanks.
Now I have another VB6 application that at a set interval downloads the aforementioned txt file to the local computer. It uses the Internet Connection control that's part of VB6.
Now here's the problem, when I'm running the VB6 application to dnload the text file, it somehow causes the website to crash, which stops the uploading application from uploading data. I can't figure out why.
And if I load up that textfile in a browser and hit refresh continously, the site doesn't crash. It only crashes if my downloading application is running.
Here's my code in teh VB6 downloading application that pertains to the actual downloading part.
Dim d() As Byte
inet.URL = txtURL.Text
d() = inet.OpenURL(inet.URL, icByte)
Open "C:\gpsCoord.txt" For Append As #1
Write #1, d()
Close #1
Thanks.