on 12-23-2008 6:45 AM
Hi Experts,
I am trying to import smartform output to a doc file .The problem I am getting is that the smartform logo is not visible in the output file.
Can you please suggest me how can I insert an image in doc file using OLE.
points are sure.
Thanks,
Sushant
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Dec 23, 2008 11:27 AM
If it's only an OLE question. You should know visual basic for word.
To open a document for example, is done in vba :
set mydoc = Documents.Open( "c:\kdjfdf.doc" )
it corresponds to the following OLE commands (if I remember well):
TYPE-POOLS ole2.
DATA word_application TYPE ole2_object.
DATA documents_collection TYPE ole2_object.
DATA my_document TYPE ole2_object.
CREATE OBJECT word_application 'word.application'.
CALL METHOD OF word_application 'Documents' =
documents_collection.
CALL METHOD OF documents_collection 'Open' =
my_document EXPORTING #1 = 'c:\kdjfdf.doc'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sushant,
import smartform output to a PDF .
program name :RSTXPDFT4 -> Execute -> enter smartforms spool request -> Execute -> save file.
might be your problem sloved.
Regards
Sam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.