TIP: Click on subject to list as thread! ANSI
echo: delphi
to: COLIN TOWERS
from: RYAN POTTS
date: 1997-09-12 00:37:00
subject: Using OLEAUTO

Colin Towers wrote in a message to Fred Burgess:
 CT>  If V.EditFindFound then V.Delete;
 CT>  V.Insert(Nicelyformattedtext);
 CT>  V.Print;
 CT>  V:=Unassigned;
 CT> End.
 CT> Then create the template in Word, save it under that name --
 CT> you won't even see Word when you do this, so it looks like
 CT> your own sheer genius :) 
 CT> I think I've got the OLE commands correct for Word, but I
 CT> could be wrong. Check the manuals if it doesn't work!
I've been watching this thread with some interest and hove gone ahead and 
incorporated your ideas in my own program.  I am not using word though, but 
using Quattro Pro from the Corel Suite 8.  The suite comes with OLE Code 
inserter.  It supports Presetations, Quattro Pro, WordPerfect and Delphi.  I 
expected the first three, the fourth was a rather pleasant surprise.  Anyway, 
I use Quattro to receive my data from my program and then to print.  Only 
Qualm I have is the fact that when the CreateOLEObject function is called it 
forces Quattro to display its splash screen and then 'show' itself.  I have 
right after that call a command to minimize Quattro, but would rather not se 
any part of Quattro loading.  I'm going to move onto trying to perform the 
same task using an OLEContainer in Delphi.  If you have any ideas on how I 
might solve my problem please let me know.
Thanks,
   Ryan Potts   (rpotts@ald.net)
---
---------------
* Origin: Midnight Express, Fairlawn Ohio (1:157/110)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.