| View previous topic :: View next topic |
| Author |
Message |
Ryan Guest
|
Posted: Mon Feb 14, 2005 2:29 pm Post subject: Preview Component for Form |
|
|
Any idea where I can get a component for previewing word or excel docs
(read only) to drop onto a form ? I need to change the file being
previewed as you would expect, but am quite happy for it to be read
only. It has to be free as we don't have any allowance in the budget
for anything remotely interesting.
Using D5, Windows 2000 and Office 2000.
Thanks
Ryan
|
|
| Back to top |
|
 |
Bruce Roberts Guest
|
Posted: Mon Feb 14, 2005 3:16 pm Post subject: Re: Preview Component for Form |
|
|
"Ryan" <ryanofford (AT) hotmail (DOT) com> wrote
| Quote: | Any idea where I can get a component for previewing word or excel docs
(read only) to drop onto a form ? I need to change the file being
previewed as you would expect, but am quite happy for it to be read
only. It has to be free as we don't have any allowance in the budget
for anything remotely interesting.
Using D5, Windows 2000 and Office 2000.
|
D5 Prof. has automation components for this, see tWordApplication,
tWordDocument, etc. in the help. You may also find
http://www.djpate.freeserve.co.uk/Automation.htm useful.
|
|
| Back to top |
|
 |
Maarten Wiltink Guest
|
Posted: Mon Feb 14, 2005 7:00 pm Post subject: Re: Preview Component for Form |
|
|
"Ryan" <ryanofford (AT) hotmail (DOT) com> wrote
| Quote: | Any idea where I can get a component for previewing word or excel
docs (read only) to drop onto a form ?
|
At work we use Microsoft's own Visio Viewer for its documents.
Some quick Googling suggests that viewers exist for Word and Excel.
Groetjes,
Maarten Wiltink
|
|
| Back to top |
|
 |
Ryan Guest
|
Posted: Tue Feb 15, 2005 8:33 am Post subject: Re: Preview Component for Form |
|
|
Actually managed to find a really easy way to do this. I used
TWebBrowser and the following line :
WebBrowser1.Navigate('c:SomeFolderSomeDocument.doc') ;
Now I can edit/preview through this.
Ryan
Maarten Wiltink wrote:
| Quote: | "Ryan" <ryanofford (AT) hotmail (DOT) com> wrote in message
news:1108391369.570682.249440 (AT) z14g2000cwz (DOT) googlegroups.com...
Any idea where I can get a component for previewing word or excel
docs (read only) to drop onto a form ?
At work we use Microsoft's own Visio Viewer for its documents.
Some quick Googling suggests that viewers exist for Word and Excel.
Groetjes,
Maarten Wiltink
|
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Tue Feb 15, 2005 10:39 am Post subject: Re: Preview Component for Form |
|
|
Use the TOLEContainer.CreateObjectFromFile better
--
With best regards, Mike Shkolnik
EMail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
http://www.scalabium.com
"Ryan" <ryanofford (AT) hotmail (DOT) com> wrote
| Quote: | Actually managed to find a really easy way to do this. I used
TWebBrowser and the following line :
WebBrowser1.Navigate('c:SomeFolderSomeDocument.doc') ;
Now I can edit/preview through this.
Ryan
Maarten Wiltink wrote:
"Ryan" <ryanofford (AT) hotmail (DOT) com> wrote in message
news:1108391369.570682.249440 (AT) z14g2000cwz (DOT) googlegroups.com...
Any idea where I can get a component for previewing word or excel
docs (read only) to drop onto a form ?
At work we use Microsoft's own Visio Viewer for its documents.
Some quick Googling suggests that viewers exist for Word and Excel.
Groetjes,
Maarten Wiltink
|
|
|
| Back to top |
|
 |
|