Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change file attributes

Status
Not open for further replies.

Phantazmo

IS-IT--Management
Aug 27, 2003
18
0
0
CA
Good day folks,

I wrote a little VB program that strips attachments from saved email. One problem has arisen however. Since it is for a webmail type system, the reader uses the email file date as the actual email date, as opposed to the header date. So, when I strip the attachment out, the system changes the file modified date, thereby changing the email date.

Is there a way of modifying a given file's date attribute using VB?

tia,

Elp.
 
This is the VBA forum, not the VB forum, but I am pretty sure you can.

Gerry
 
Okay, lets just say I forgot to put the "A" after "VB", and I developed the program using VBA.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top