----- Original Message ----- 
From: "Bill Eyring" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Monday, June 23, 2008 11:20 AM
Subject: [RBASE-L] - Print Report Option Question for Word Documents


>I need to print a report which needs to be inserted into a Word Document.
> This report contains a photo.
>
> When I use the option RTF and insert it into a Word Doc, all the formatting
> is lost.

  How is the "insert" into a Word Doc performed?


> If I just open the RTF file in Word, everything appears normal with the
> exception that the photo loses size and proportion.
>
> I need to take this report and insert it directly into Word without having
> to do any editing.

  You can likely do this using the Automation interface with word.  If you use 
the example included from the 2007 conference, you could do it that way.  I 
have finished a new DLL for the Microsoft Script Control that was used at the 
conference and am writing the helpfile for it.  I will likely have it done this 
week and will make it available thereafter.

The new version will not differ significantly from the conference version that 
would impact any code you create, so you could soldier on with the existing 
conference DLL if you want.

To develop the code, you should use another office application and develop the 
VBA code to automate Word using variants only as datatypes for objects and 
variables.  After you develop your VBA code, change early binding to late 
binding and "WaLa" you can manipulate Word from RBase using the DLL and the 
Powerful DLCall function...

I don't have a lot of spare time right now to make it work for you, but if this 
is within your scope of expertise, it shouldn't take much time.


> Does anyone have suggestions so I can accomplish this ?
>
> Do I have to change any setup option in Word to accomplish this ?
>
> I am using the latest release of Turbo8. (8.0.18.30628).
>
>
> Thanks,
>
> Bill Eyring
> 


Reply via email to