Subject: Time Into File
 
Question:
How do you write the time and date to a .txt file that is in use or open? Would you use the sendkey command or is there another way to do it?

Thank you
 
Answer:
First of all, I suggest you to read the article about opening txt files if you don’t know how to already (use the Output keyword instead of Input to start writing to a file or Append to add text to it). Use the Time function to get the time. The function returns a String variable like the following:
“17:24:23”
 
Home Page  - Categories - Projects - TextFiles
Copyright 2002 All rights reserved to vb4all.8m.net