Need to read file Time and/or Date stamp 
Author Message
 Need to read file Time and/or Date stamp

        I need to read the time and date stamp from any file on a disk. I
have written code using VB/DOS STD Ver 1.00 (I know it is old!) to do this.
I cannot convert this code to VB/WIN STD  Ver 3.00. The dos code uses
interrupts and absolute adress of an ASCIIZ string. In trying to convert
the code I was reffered to Windows API functions for the equivalent
interrupt and peek/poke functions. I don't know which functions to use or
how to go about finding the complete list of API functions available.
Searching the help file I was reffered to help file available in the Pro
edition.

        What do I do? Upgrade to the Pro edition or, obtain the reffered
help files or, obtain Windows API documentation elsewhere or, ask for
coding to do this. Please post messages to news group URGENTLY.



Fri, 11 Sep 1998 03:00:00 GMT  
 Need to read file Time and/or Date stamp

Quote:
>    I need to read the time and date stamp from any file on a disk. I
>have written code using VB/DOS STD Ver 1.00 (I know it is old!) to do this.
>I cannot convert this code to VB/WIN STD  Ver 3.00.

Use the FileDateTime function.


--
Newbiehood is not a period of time, it's a way of life.

http://www.sn.no/~balchen/
ftp://ftp.sn.no/user/balchen/



Fri, 11 Sep 1998 03:00:00 GMT  
 Need to read file Time and/or Date stamp

Quote:

>    I need to read the time and date stamp from any file on a disk. I
>have written code using VB/DOS STD Ver 1.00 (I know it is old!) to do this.
>I cannot convert this code to VB/WIN STD  Ver 3.00. The dos code uses
>interrupts and absolute adress of an ASCIIZ string. In trying to convert
>the code I was reffered to Windows API functions for the equivalent
>interrupt and peek/poke functions. I don't know which functions to use or
>how to go about finding the complete list of API functions available.
>Searching the help file I was reffered to help file available in the Pro
>edition.

>    What do I do? Upgrade to the Pro edition or, obtain the reffered
>help files or, obtain Windows API documentation elsewhere or, ask for
>coding to do this. Please post messages to news group URGENTLY.

Use the FileDateTime Function in VB3.0 STD edition. It returns the date
and time when the file has last been modified. See your VB3 help files
for more info & examples.

Tom



Fri, 11 Sep 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Modification to Time and Date stamp needed

2. Return File Date Time stamp

3. Access 7.0/8.0 (Win95) - How to retrieve a file's date/time stamp

4. Saving date/time stamp of text file

5. Determining file date-time stamp via HTTP

6. Get and set file date and time stamps

7. Modify File Date/Time Stamp with VB?

8. File's time/date stamp

9. changing date/time stamp on files

10. displaying file size, date and time stamps?

11. Setting file date/time stamp

12. File date/time stamps

 

 
Powered by phpBB® Forum Software