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 

Delphi 7/ using 'word.basic' Ole Object - How to Suppress Fo

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





PostPosted: Fri May 11, 2007 8:13 am    Post subject: Delphi 7/ using 'word.basic' Ole Object - How to Suppress Fo Reply with quote



My application : is on Delphi 7.
Using : 'word.basic' Ole Object to implement printing
functionality, - using the call CreateOleObject('Word.Basic').

Requirement : From the code, while Prining some document using the
above object
suppress the Printing of the Footer
Conditionally.

Is there any OLE calls/way to do this ?

Thanks in advance,
Ramesh
Back to top
Oliver Townshend
Guest





PostPosted: Fri May 11, 2007 1:51 pm    Post subject: Re: Delphi 7/ using 'word.basic' Ole Object - How to Suppres Reply with quote



Quote:
Is there any OLE calls/way to do this ?

You can only do in OLE what you can do in VBA (or worbasic in your case),
which is only what you can do by using Word. There's no simple way to do
this in Word, except by clearing out the footers and printing, and then
restoring them.

Oliver Townshend
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.