BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NEW MS Word Automation ERROR

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
pedro
Guest





PostPosted: Tue Jan 11, 2005 8:31 am    Post subject: NEW MS Word Automation ERROR Reply with quote




Hi everybody,

I've discover a new Word Automation error. When I try to open a MS Word
document into a ole container as

OleContainer1.CreateObjectFromFile('Filename.doc', False);

everything goes rigth but sometimes I open a document that raises the
following error:

"Disk error during read operation"

I've been looking for the diferences between a good document and one
that raises this error and is a Table. When I insert a Table in the
document the createObjectFromFile method failed but not always, it
depends of the number of columns.

May any one help me, please¿?¿?

Back to top
Mike Shkolnik
Guest





PostPosted: Tue Jan 11, 2005 10:10 am    Post subject: Re: NEW MS Word Automation ERROR Reply with quote



Just check if you really have enough free space on disk (for temp-directory
and swap file)

--
With best regards, Mike Shkolnik
EMail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
http://www.scalabium.com

"pedro" <pvelarde (AT) ozu (DOT) es> wrote

Quote:

Hi everybody,

I've discover a new Word Automation error. When I try to open a MS Word
document into a ole container as

OleContainer1.CreateObjectFromFile('Filename.doc', False);

everything goes rigth but sometimes I open a document that raises the
following error:

"Disk error during read operation"

I've been looking for the diferences between a good document and one
that raises this error and is a Table. When I insert a Table in the
document the createObjectFromFile method failed but not always, it
depends of the number of columns.

May any one help me, please¿?¿?




Back to top
pedro
Guest





PostPosted: Tue Jan 11, 2005 11:51 am    Post subject: Re: NEW MS Word Automation ERROR Reply with quote



thanks mike for your quick answer.

I've got the problem not only in one computer but everyone I tested.
Anyway, if I add a column in the table it fails and if I delete this
column it works fine... ¿?

what do u want to say with swap file¿?

pedro.

Mike Shkolnik escribió:
Quote:
Just check if you really have enough free space on disk (for temp-directory
and swap file)

--
With best regards, Mike Shkolnik
EMail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
http://www.scalabium.com

"pedro" <pvelarde (AT) ozu (DOT) es> wrote


Hi everybody,

I've discover a new Word Automation error. When I try to open a MS Word
document into a ole container as

OleContainer1.CreateObjectFromFile('Filename.doc', False);

everything goes rigth but sometimes I open a document that raises the
following error:

"Disk error during read operation"

I've been looking for the diferences between a good document and one
that raises this error and is a Table. When I insert a Table in the
document the createObjectFromFile method failed but not always, it
depends of the number of columns.

May any one help me, please¿?¿?






Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.