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 

Preview Component for Form

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
Ryan
Guest





PostPosted: Mon Feb 14, 2005 2:29 pm    Post subject: Preview Component for Form Reply with 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.

Thanks

Ryan

Back to top
Bruce Roberts
Guest





PostPosted: Mon Feb 14, 2005 3:16 pm    Post subject: Re: Preview Component for Form Reply with quote




"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





PostPosted: Mon Feb 14, 2005 7:00 pm    Post subject: Re: Preview Component for Form Reply with quote



"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





PostPosted: Tue Feb 15, 2005 8:33 am    Post subject: Re: Preview Component for Form Reply with 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:
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





PostPosted: Tue Feb 15, 2005 10:39 am    Post subject: Re: Preview Component for Form Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc 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.