Copy/Upload files and use the old Last Modified or Created date-time of documents

You may read in the SDK about the Add method: SPFileCollection.Add Method (Microsoft.SharePoint)  http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.spfilecollection.add.aspx You tried the sample http://msdn2.microsoft.com/en-us/library/ms439259.aspx System.DateTime created = srcFile.TimeCreated;System.DateTime modified = srcFile.TimeLastModified; destFiles.Add(destURL, binFile, userAuthor, userModified, created, modified); The community content told you that this did not work and the solution for a complete copy action could looks like: Put this…

4

WSS version number in the Word 2003 document

We have now the third version of Team Services and it is called Windows SharePoint Services V3. It is now possible to have a better handling of version controlling means Major and Minor versions in a document library. Why not have this information also in the document and be able to print it out? The…

28

WSS V3 DocLib file version information also in Word 2003

I will start with my first blog here and explain how to get the WSS V3 version information into an Office 2003 Word document. Later I will also post how to do that with Office 2007 Word.  First of all you need: –          Visual Studio 2005SP1 –          C# or VB.NET knowledge –          How to write/read…

0