Hi
I am using dsofile.dll(latest, which supports office 2007 formats)
to set attributes of office files. The dsofile fails with .docx files
if the file size is 0 bytes(Such a file can be created by
rightclicking on desktop and selecting New ->Microsoft Office Word
Document. If you right click on the created file and select
Properties, It shows Seze as 0 bytes). Is there any fix/workaround
available for this bug?

Thanks in advance,

Re: DSO file fails with word 2007 docx files of size zero byte. by Jonathan

Jonathan
Wed Sep 12 09:36:00 CDT 2007


"prem1234" <sathink@gmail.com> wrote in message
news:1189607484.866475.269460@w3g2000hsg.googlegroups.com...
> Hi
> I am using dsofile.dll(latest, which supports office 2007 formats)
> to set attributes of office files. The dsofile fails with .docx files
> if the file size is 0 bytes(Such a file can be created by
> rightclicking on desktop and selecting New ->Microsoft Office Word
> Document. If you right click on the created file and select
> Properties, It shows Seze as 0 bytes). Is there any fix/workaround
> available for this bug?
>
> Thanks in advance,

Check the file size first, using the FileLen function.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup