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 

olecontainer save/load word document

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





PostPosted: Tue Sep 21, 2004 6:36 am    Post subject: olecontainer save/load word document Reply with quote



Good morning,

i use an ole Container to load, to work on and save word documents.
Normally i have no problems with this operations. But on some computers the
loading and saving process takes over 2 minutes.
If i try to open the same document outside the ole i have no waiting time.

To load a document i use:
OLEContainer.CreateObjectFromFile(dokument,false);

To save a document i use:
OLEContainer.OleObject.application.ActiveDocument.SaveAs(WordDateiName,WordD
ocFileExt,Emptyparam,word_seite.PsWd,Emptyparam,Emptyparam,Emptyparam,Emptyp
aram,Emptyparam,Emptyparam,Emptyparam);

Has anybody an idea?

Thanks for help.
Thomas



Back to top
Mike Shkolnik
Guest





PostPosted: Tue Sep 21, 2004 9:37 am    Post subject: Re: olecontainer save/load word document Reply with quote



Quote:
i use an ole Container to load, to work on and save word documents.
Normally i have no problems with this operations. But on some computers
the
loading and saving process takes over 2 minutes.
Sure that there some antivirus monitor is in memory. Try to disable it

temporary and test again

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



Back to top
Thomas Franz
Guest





PostPosted: Tue Sep 21, 2004 9:59 am    Post subject: Re: olecontainer save/load word document Reply with quote



There is no antivirus installed.


"Mike Shkolnik" <mshkolnik2002 (AT) ukr (DOT) net> schrieb im Newsbeitrag
news:414ff64e (AT) newsgroups (DOT) borland.com...
Quote:
i use an ole Container to load, to work on and save word documents.
Normally i have no problems with this operations. But on some computers
the
loading and saving process takes over 2 minutes.
Sure that there some antivirus monitor is in memory. Try to disable it
temporary and test again

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





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.