Hi.
I´m triing to make an online counter puting an ocx on a web page.
Here is my code(.OCX)
Code:Private Sub UserControl_Initialize() Dim loc As String Dim a As Integer loc = "http://path.xxx/count.txt" ' the error is here (path not found) 'get´s the previous value Open loc For Input As #1 Input #1, a label1 = a Close #1 'adds one unit label1 = label1 + 1 'save the new value Open loc For Output As #1 Print #1, label1 Close #1 End Sub
Do i have to use winsock on inet to get the value on the count.txt file.Please help me bacause i don´t understand a bit on cgi or perl and javascripts atc.
numibesi


Reply With Quote