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 

open word/excel within a TForm not using TOleContainer

 
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: Mon Aug 15, 2005 9:52 am    Post subject: open word/excel within a TForm not using TOleContainer Reply with quote



Hello,

is it possible to open word or excel within a form sheet?

I don't want to use an olecontainer.

Thanks for help

Thomas


--
***********************************************
Firma Gerz Text- und Datenservice
Hammermühlerweg 1
56242 Selters

Thomas Franz
Diplom Informatiker

***********************************************


Back to top
Mike Shkolnik
Guest





PostPosted: Mon Aug 15, 2005 8:09 pm    Post subject: Re: open word/excel within a TForm not using TOleContainer Reply with quote



Thomas,

TOLEContainer is just what you need. Why you don't want to use this
component?

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

"Thomas Franz" <thomas.franz (AT) web-ft (DOT) de> wrote

Quote:
Hello,

is it possible to open word or excel within a form sheet?

I don't want to use an olecontainer.

Thanks for help

Thomas


--
***********************************************
Firma Gerz Text- und Datenservice
Hammermühlerweg 1
56242 Selters

Thomas Franz
Diplom Informatiker

***********************************************





Back to top
Thomas Franz
Guest





PostPosted: Tue Aug 16, 2005 6:31 am    Post subject: Re: open word/excel within a TForm not using TOleContainer Reply with quote



I try the tolecontainer,

but within in the container several functions from msword aren't available.
Although the loading and saving from documents are very slow on some
computerclients (10 - 15sec).

I try the TWordApplication component, too. There are no problems to load and
fill the document with the app Data, but i looses the save control. I need
the save control, because before i can save the documents i must open a
network connection to the destination folder (the folder access is limited
by one user to protect the documents). After save i disconnect the network
connection.
To do this i uses the 'onDocumentBeforeClose' event, but it doesn't work
successfully.

Thanks for help.

Thomas

"Mike Shkolnik" <mshkolnik2002 (AT) ukr (DOT) net> schrieb im Newsbeitrag
news:4300f74f (AT) newsgroups (DOT) borland.com...
Quote:
Thomas,

TOLEContainer is just what you need. Why you don't want to use this
component?

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

"Thomas Franz" <thomas.franz (AT) web-ft (DOT) de> wrote in message
news:43006608$1 (AT) newsgroups (DOT) borland.com...
Hello,

is it possible to open word or excel within a form sheet?

I don't want to use an olecontainer.

Thanks for help

Thomas


--
***********************************************
Firma Gerz Text- und Datenservice
Hammermühlerweg 1
56242 Selters

Thomas Franz
Diplom Informatiker

***********************************************







Back to top
Mike Shkolnik
Guest





PostPosted: Tue Aug 16, 2005 8:22 am    Post subject: Re: open word/excel within a TForm not using TOleContainer Reply with quote

Thomas,

Quote:
but within in the container several functions from msword aren't
available.

What functions do you mean?

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



Back to top
Mike Shkolnik
Guest





PostPosted: Tue Aug 16, 2005 8:23 am    Post subject: Re: open word/excel within a TForm not using TOleContainer Reply with quote

Thomas,

Quote:
Although the loading and saving from documents are very slow on some
computerclients (10 - 15sec).
Seems that some monitor (like antivirus) is active in memory.


--
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 Aug 16, 2005 10:00 am    Post subject: Re: open word/excel within a TForm not using TOleContainer Reply with quote

Quote:

but within in the container several functions from msword aren't
available.
What functions do you mean?


- printpreview
- macros
- ...

There are many problems, too:

- looses focus after change to another word document outside the
olecontainer.
- incorrect jump point after click on a paragraph in the table of contents
- ...

regards. Thomas



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.