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 

Displaying Word DOC and Excel XLS

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





PostPosted: Mon May 14, 2007 3:30 pm    Post subject: Displaying Word DOC and Excel XLS Reply with quote



Hi Everyone,

I am looking for a way to (ONLY) displaying / previewing .doc and .xls
files.
This need to happen inside my application and not by launching Office etc
and only loading the document externally.

Also, it would be nice if I can use OpenOffice's activex or something to do
this because it's free.

Most important is to view Word Documents (.doc).
And this must happen inside my program.


Thanks in advance!
Back to top
Oliver Townshend
Guest





PostPosted: Mon May 14, 2007 3:30 pm    Post subject: Re: Displaying Word DOC and Excel XLS Reply with quote



Quote:
I am looking for a way to (ONLY) displaying / previewing .doc and .xls
files.

Microsoft have viewers that you can download for Word and Excel (and other
Office docs) which maybe you could show using TOLEContainer.

Oliver Townshend
Back to top
Mike Shkolnik
Guest





PostPosted: Tue May 15, 2007 12:13 am    Post subject: Re: Displaying Word DOC and Excel XLS Reply with quote



Just open the doc/xls file in TOLEContainer (use CreateObjectFromFile
method) and when file loaded, set the readonly mode in MS Word/MS Excel
application

--
With best regards, Mike Shkolnik
Scalabium Software
http://www.scalabium.com
mshkolnik (AT) scalabium (DOT) com

"Codeman II" <thegentleman (AT) webmail (DOT) co.za> wrote in message
news:4648375c (AT) newsgroups (DOT) borland.com...
Quote:
Hi Everyone,

I am looking for a way to (ONLY) displaying / previewing .doc and .xls
files.
This need to happen inside my application and not by launching Office etc
and only loading the document externally.

Also, it would be nice if I can use OpenOffice's activex or something to
do
this because it's free.

Most important is to view Word Documents (.doc).
And this must happen inside my program.


Thanks in advance!

Back to top
Mike Shkolnik
Guest





PostPosted: Tue May 15, 2007 12:13 am    Post subject: Re: Displaying Word DOC and Excel XLS Reply with quote

Quote:
Microsoft have viewers that you can download for Word and Excel (and other
Office docs) which maybe you could show using TOLEContainer.
These free viewers doesn't support the ole-automation

--
With best regards, Mike Shkolnik
Scalabium Software
http://www.scalabium.com
mshkolnik (AT) scalabium (DOT) com
Back to top
Oliver Townshend
Guest





PostPosted: Tue May 15, 2007 5:49 am    Post subject: Re: Displaying Word DOC and Excel XLS Reply with quote

Quote:
Just open the doc/xls file in TOLEContainer (use CreateObjectFromFile
method) and when file loaded, set the readonly mode in MS Word/MS Excel
application

I think he's trying to avoid having to purchase the application.

Oliver Townshend
Back to top
Mike Shkolnik
Guest





PostPosted: Wed May 16, 2007 1:51 am    Post subject: Re: Displaying Word DOC and Excel XLS Reply with quote

Quote:
I think he's trying to avoid having to purchase the application.
Hmm...

So only one alternative, is to order third-party components (VCL) which
allow to work with doc/xls without MS Excel/MS Word

--
With best regards, Mike Shkolnik
Scalabium Software
http://www.scalabium.com
mshkolnik (AT) scalabium (DOT) 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.