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


by cavemen
Tags: date, stamp, time, vb6, visual basic 6
cavemen
cavemen is offline
#1
Jun11-09, 02:11 PM
P: 42
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.
Phys.Org News Partner Science news on Phys.org
Review: With Galaxy S5, Samsung proves less can be more
Making graphene in your kitchen
Study casts doubt on climate benefit of biofuels from corn residue
Greg Bernhardt
Greg Bernhardt is offline
#2
Jun11-09, 08:19 PM
Admin
Greg Bernhardt's Avatar
P: 8,538
FileDateTime("C:\Somefile.txt")

My.Computer.FileSystem.MoveFile("C:\Somefile.txt", "C:\hello\Somefile.txt")
cavemen
cavemen is offline
#3
Jun13-09, 12:48 PM
P: 42
thank you for helping


Register to reply

Related Discussions
How to read a gz file? Computers 5
Does anyone know how to read a .ps file? Computers 7
Does anyone know how to read a .ps file? Math & Science Software 1
Deleting a file that "can not read from the source file or disk" Computers 13
Abbreviated date/time stamp Forum Feedback & Announcements 16