Setting file date/time from Visual Basic 
Author Message
 Setting file date/time from Visual Basic

Hi all!

I want to set the time and date of a file from 16-bit Visual Basic 4.0.
There is a VB function called FileDateTime for getting the date/time, but
no function for setting... Does anyone know if there is a standard API-call
for doing this?




Fri, 09 Apr 1999 03:00:00 GMT  
 Setting file date/time from Visual Basic

Hi Stefan.

You want to use the Date statement and the Time statement.

Don't confuse these with the Date function and the Time function.

Check out VB's Help for examples.

Let me know if I can be of any more help.

=========================================
"When the going gets tough, the weird turn pro."
         -- R. Duke


=========================================



Quote:
> Hi all!

> I want to set the time and date of a file from 16-bit Visual Basic 4.0.
> There is a VB function called FileDateTime for getting the date/time, but
> no function for setting... Does anyone know if there is a standard
API-call
> for doing this?





Sat, 10 Apr 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Setting file dates in Visual Basic

2. Get and set file date and time stamps

3. Setting a file date/time vb6?

4. Setting Date and Time of Files

5. How To: set file date & time created

6. File Modification Date/Time - grabbing and setting

7. How to set File Modified Date/Time in VB App

8. Need to set file date/time

9. Setting file date/time stamp

10. Setting File date/time

11. Setting File Date and Time

 

 
Powered by phpBB® Forum Software