| View previous topic :: View next topic |
| Author |
Message |
Codeman II Guest
|
Posted: Mon May 14, 2007 3:30 pm Post subject: Displaying Word DOC and Excel XLS |
|
|
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
|
Posted: Mon May 14, 2007 3:30 pm Post subject: Re: Displaying Word DOC and Excel XLS |
|
|
| 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
|
Posted: Tue May 15, 2007 12:13 am Post subject: Re: Displaying Word DOC and Excel XLS |
|
|
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
|
Posted: Tue May 15, 2007 12:13 am Post subject: Re: Displaying Word DOC and Excel XLS |
|
|
| 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
|
Posted: Tue May 15, 2007 5:49 am Post subject: Re: Displaying Word DOC and Excel XLS |
|
|
| 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
|
Posted: Wed May 16, 2007 1:51 am Post subject: Re: Displaying Word DOC and Excel XLS |
|
|
| 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 |
|
 |
|