Home > Software engineering >  VB data record and storage
VB data record and storage

Time:11-22

Have bosses can solve this to me ah, I use VB and built a winsock communications protocol, real-time data can be output to my text, but how should regularly to store the data automatically?

CodePudding user response:

The data record to the log file, no test, do you think you could use:
 
Dim fp as integer
Fp=freefile

Open the app. The path & amp; "\ log. TXT" for append as fp
Print # fp, text1. Text
The close fp

CodePudding user response:

Thank you, I give it a try,,,,,,,

CodePudding user response:

How time can save, but bosses

CodePudding user response:

reference dashench reply: 3/f
save ok, but how time bosses


Use the Timer control, timing to perform the above code
  • Related