| Author |
Message |
PIT
Guest
|
Posted:
Thu Jan 06, 2005 4:38 am Post subject:
change date and time of document programatically |
|
|
hi,
is there a to change date and time of document programmatically using c#?
I hope somebodycan help me.
Thanks and regards
PIT |
|
| Back to top |
|
 |
Wei-Dong XU [MSFT]
Guest
|
Posted:
Thu Jan 06, 2005 7:57 am Post subject:
RE: change date and time of document programatically |
|
|
Hi PIT,
Could you provide detailed information regarding your requirement? Do you
mean the file creation time or modification time of the document? And is
the document located at WSS doc lib or only one single file on the hard
disk?
Expect your reply!
Best Regards,
Wei-Dong XU (WD.XU)
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights. |
|
| Back to top |
|
 |
PIT
Guest
|
Posted:
Thu Jan 06, 2005 1:33 pm Post subject:
RE: change date and time of document programatically |
|
|
hi Wei-Dong,
yes, i file creation time or modification time of the document which is
located on WS.
do you know how can i change that?
Regards, PIT
"Wei-Dong XU [MSFT]" wrote:
| Quote: | Hi PIT,
Could you provide detailed information regarding your requirement? Do you
mean the file creation time or modification time of the document? And is
the document located at WSS doc lib or only one single file on the hard
disk?
Expect your reply!
Best Regards,
Wei-Dong XU (WD.XU)
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights |
|
|
| Back to top |
|
 |
Wei-Dong XU [MSFT]
Guest
|
Posted:
Fri Jan 07, 2005 12:16 pm Post subject:
RE: change date and time of document programatically |
|
|
Hi,
You can use the "Properties Property" to modify the creation time and
modification time of the documents in doclib. There is one sample code in
the SDK for "Properties Property".
http://msdn.microsoft.com/library/en-us/spptsdk/html/tspSPFileProperties.asp
Please feel free to let me know if you have any question.
Best Regards,
Wei-Dong XU (WD.XU)
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights. |
|
| Back to top |
|
 |
PIT
Guest
|
Posted:
Fri Jan 07, 2005 3:31 pm Post subject:
RE: change date and time of document programatically |
|
|
Hi Wei-Dong,
thanks for the info. can you please tell me where or what i can download, so
that i can use
using Microsoft.SharePoint;
In Moment i can't see this in my Add-Reference tab.
Thanks and regards, PIT
"Wei-Dong XU [MSFT]" wrote:
|
|
| Back to top |
|
 |
Wei-Dong XU [MSFT]
Guest
|
Posted:
Sat Jan 08, 2005 10:44 am Post subject:
RE: change date and time of document programatically |
|
|
Hi,
The development of SPS should be at one box which has installed SPS2k3. You
will find the assembly from the .Net tab of "Add Reference" dialog, the
assembly name is "Windows Sharepoint Service" which is located at:
C:\Program Files\Common Files\Microsoft Shared\web server
extensions\60\ISAPI\Microsoft.Sharepoint.dll.
Please feel free to let me know if you have any question.
Best Regards,
Wei-Dong XU (WD.XU)
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights. |
|
| Back to top |
|
 |
PIT
Guest
|
Posted:
Sat Jan 08, 2005 1:21 pm Post subject:
RE: change date and time of document programatically |
|
|
Thanks
"Wei-Dong XU [MSFT]" wrote:
| Quote: | Hi,
The development of SPS should be at one box which has installed SPS2k3. You
will find the assembly from the .Net tab of "Add Reference" dialog, the
assembly name is "Windows Sharepoint Service" which is located at:
C:\Program Files\Common Files\Microsoft Shared\web server
extensions\60\ISAPI\Microsoft.Sharepoint.dll.
Please feel free to let me know if you have any question.
Best Regards,
Wei-Dong XU (WD.XU)
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights |
|
|
| Back to top |
|
 |
Wei-Dong XU [MSFT]
Guest
|
Posted:
Tue Jan 11, 2005 1:29 pm Post subject:
RE: change date and time of document programatically |
|
|
Welcome! :0)
Best Regards,
Wei-Dong XU (WD.XU)
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights. |
|
| Back to top |
|
 |
|
|
|
|