Board index » delphi » Please Help with Adobe Acrobat Exchange

Please Help with Adobe Acrobat Exchange

   Hi, im writting a program wich uses OLE to comunicate with Adobe
Exchange, i need to import some files (*.tif) into a new document to
save it as a .PDF
   Well, i open using OLE the Exchange program, the i need to use
'File','Import','Image', i download the documentation from Adobe and i
could use 'MenuItemExecute' and 'ImportImage', the problem is that i
dont wont the program to ask the user wich one, how could i told it
wich ones to import?

   i use:

        procedure TForm1.Button1Click(Sender: TObject);
        var
                AcroExch: Variant;
                i: Integer;
                result:boolean;
        begin
                AcroExch := CreateOleObject('AcroExch.App');
                AcroExch.Show; {For see it, just for view what is it
doing}
                AcroExch.Maximize(result);
                ActoExch.MenuItemExecute('ImportImage');
        end;

   If someone could told me how i could select wich files to import i
will very apreciate (?), sorry i dont speek english so good :(
   Well, thanks in advance, please help me !!!

        Juancho.

 

Re:Please Help with Adobe Acrobat Exchange


On Thu, 15 May 1997 13:53:19 GMT, b940...@zipi.fi.upm.es (Juancho)
wrote:

Quote
>   Hi, im trying when an open dialog opens to tell it (by my program)
>wich file to open, any body knows how?

If you set the FileName property before calling Execute, that will be
the filename that displays.  (You can set a lot of other properties as
well, like the directory name etc.)
J. Merrill / Analytical Software Corp

Re:Please Help with Adobe Acrobat Exchange


   Hi, im trying when an open dialog opens to tell it (by my program)
wich file to open, any body knows how?
   Thanks.
            _  _______________________________
           / )|            Juancho            |( \
          / / |mailto://b940...@zipi.fi.upm.es| \ \
        _( (_ |        Madrid - Spain         | _) )_
       (((\ \>|_/->_______________________<-\_|</ /)))
       (\\\\ \_/ /                         \ \_/ ////)
        \       /                           \       /
         \    _/                             \_    /
         /   /                                 \   \

Other Threads