[VB6] File date and time stamp. How to read into variable?

Click For Summary
To create a VB6 program that tracks the date and time a file is created and plots this data in a graph, the FileDateTime function can be used to retrieve the file's date and time stamp. The syntax is FileDateTime("C:\Somefile.txt"). For moving files between folders, the VB6 command to use is the Name statement, which allows for file relocation. The discussion emphasizes a preference for VB6 over modern programming languages like VB.NET or C#.
cavemen
Messages
42
Reaction score
0
Hello. I am trying to create a VB6 program that would keep track of date and time when a new file was created. And and plot it in a graph.

What VB6 command can allow me to convert file date and time stamp into a variable?
What command can help me move a file from one folder to the other?

Yes I am using the Visual Basic 6. It is simple.
No VB.NET, no C# no modern complex B.S.
 
Technology news on Phys.org
FileDateTime("C:\Somefile.txt")

My.Computer.FileSystem.MoveFile("C:\Somefile.txt", "C:\hello\Somefile.txt")
 
thank you for helping
 
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...

Similar threads

Replies
81
Views
7K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 5 ·
Replies
5
Views
6K
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
8K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K