Hello, I would like to know if anybody could help me with this program that im trying.
I have a text file with data inside and i want to display one data line per time with 2 sec delay.
The data should continue show infinitely.
This is what i have done until now
Private Sub Form_Load ()
tcpComm1.NodeIP = " "
tcpComm1.NodePort = " "
tcpComm1.Link
Dim iFileNum As Integer
Dim FileText as String
Dim iLen As Integer
iFileNum = FreeFile
FileText="Text.txt"
Open FileText For Input As iFileNum
Do While Not EOF (iFileNum)
Line Input #iFileNum, idata
tcpComm1.DataOutput (idata)
Loop
Close(iFileNum)
End Sub
Thanks,
Yiannis