Windows SharePoint Services Products and Technologies blog by Harish Mathanan

Monday, May 11, 2009

MS Word Gotcha

Creating a MS Word document by right-clicking New –> Microsoft Office Word Document actually creates the file as 0 bytes in size! Note, this very same action with MS Excel or MS PowerPoint creates files that are about 9KB or so.

word01

Now, this does not really mean much until we actually try to Upload the file into a particular document library. If the file is 0 bytes in size, we would get an error (this happens with Notepad files as well).

word02

And creating a document by opening up MS Word Application and saving it completely blank however, saves the file as 9.60KB in size. Not really sure why the difference in size for the two separate actions. Just something to keep an eye out for.

word03

0 comments:

 
Copyright Harish Mathanan 2008