Is there no way to programmatically change the DateCreated property of a
File object through the FileSystemObject? The property is read-only but I
thought someone might have come up with a workaround.

This is an effort to automate the resorting in alphabetical order the custom
views in a custom list a on SharePoint Team Services web site.

Re: DateCreated Property Question by Walter

Walter
Wed Sep 17 21:27:15 CDT 2003

You can change the modified date, but not the creation date, using a
FolderItem object, which exposes a Read-Write ModifyDate property.

http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/objects/folderitem/modifydate.asp

"Allen Davis" <AllenDavis@flex-n-gate.com> wrote in message
news:%23jFwjaVfDHA.4024@TK2MSFTNGP11.phx.gbl...
| Is there no way to programmatically change the DateCreated property of a
| File object through the FileSystemObject? The property is read-only but I
| thought someone might have come up with a workaround.
|
| This is an effort to automate the resorting in alphabetical order the
custom
| views in a custom list a on SharePoint Team Services web site.
|
|



RE: DateCreated Property Question by lukezhan

lukezhan
Thu Sep 18 01:54:18 CDT 2003

Hi Allen,

This property cannot be changed in FSO. If it is really necessary, you may
consider the API function SetFileTime.

Luke
Microsoft Online Partner Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Re: DateCreated Property Question by Allen

Allen
Thu Sep 18 10:20:28 CDT 2003

Thanks, I'll look at that function and see if I can use it. (Of course, this
would not really be necessary if SharePoint Team Services had the capability
to sort custom views alphabetically. =)

"MSFT" <lukezhan@online.microsoft.com> wrote in message
news:lhim4GbfDHA.2492@cpmsftngxa06.phx.gbl...
> Hi Allen,
>
> This property cannot be changed in FSO. If it is really necessary, you may
> consider the API function SetFileTime.
>
> Luke
> Microsoft Online Partner Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>