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 

Word.Documents.Open with different MS Office versions

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





PostPosted: Wed Apr 13, 2005 1:43 pm    Post subject: Word.Documents.Open with different MS Office versions Reply with quote



Hi,


Word.Documents.Open(MyFile,14*EmptyParam) in Delphi 7 works ok with
Word 2002 (XP) but fails with an AV with Word 2000.

Any solution?

Regards

Lars
Back to top
Lars Christensen
Guest





PostPosted: Wed Apr 13, 2005 5:55 pm    Post subject: Now I know why, but new problem: Slow to open text file Reply with quote



Quote:
Word.Documents.Open(MyFile,14*EmptyParam) in Delphi 7 works ok with
Word 2002 (XP) but fails with an AV with Word 2000.

Solution: Check for MS Office version and use Open2000 if Office 2000.

But:

From a blob-field I stream data to a file "temp.doc" – then I open
Word to show/edit the document.

The content of the blob-field may initially be Word or text format. If
text format Word uses more than 1 minute to open it.

Does anybody know why?

Regards

Lars

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.