Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

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

  1. Jun 11, 2009 #1
    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.
     
  2. jcsd
  3. Jun 11, 2009 #2
    FileDateTime("C:\Somefile.txt")

    My.Computer.FileSystem.MoveFile("C:\Somefile.txt", "C:\hello\Somefile.txt")
     
  4. Jun 13, 2009 #3
    thank you for helping
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: [VB6] File date and time stamp. How to read into variable?
Loading...