DSO file fails with word 2007 docx files of size zero byte.

P

prem1234

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,
 
J

Jonathan West

prem1234 said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top