[aprssig] VB6 file open for APRS
Chuck Gooden
cgooden at insightbb.com
Tue Apr 5 21:00:23 EDT 2005
If I recall may basic days, a comma is a delimiter for input statements.
for example:
input a, b, c would read three values from the command line with each
value delimited by a comma (ie 12, 14, 74).
If you want to read the entire line, you may want to look up how to read
a strings from a file. I think you will find it in the docs on file IO.
Andrew Rich wrote:
> Anybody a guru on VB6 ?
>
> I am trying to open every log file in the LOGS directory of UI-VIEW and
> reply to port 1448 (UI-VIEW server)
>
> For some reason when I open the log file, VB6 thinks a COMMA is a
> deliminator.
>
> Ideas ?
>
> Private Sub Command4_Click()
>
> Open "C:\Program Files\Peak Systems\UI-View32\LOGS\20040421.TXT" For Input
> As #1
> Do While Not EOF(1)
> Input #1, myserial
> List1.AddItem myserial
> Winsock1.SendData myserial & Chr$(13) & Chr$(10)
>
> Loop
>
>
>
>
> _______________________________________________
> aprssig mailing list
> aprssig at lists.tapr.org
> https://lists.tapr.org/cgi-bin/mailman/listinfo/aprssig
>
More information about the aprssig
mailing list