Re: How to launch an external application from Form?
From: Duncan Mills <drmills_at_uk.oracle.com>
Date: Tue, 7 Dec 1999 17:44:08 -0000
Message-ID: <82ji2h$hqj$1_at_inet16.us.oracle.com>
Date: Tue, 7 Dec 1999 17:44:08 -0000
Message-ID: <82ji2h$hqj$1_at_inet16.us.oracle.com>
Either use the HOST built-in which will suspend the Form whist the external
program is running.
Or use DDE.APP_BEGIN for synchronous operation.
Or of course D2KWUTIL has several functions to launch programs WIN_API_SHELL.WinExec and WIN_API_SHELL.StartFile
Winexec allows you to start up another program synchronously and you can specify the window state. Startfile allows you to simply supply the name of a document and the code works out the name and location of the program to run to view it.
-- Regards Duncan Mills <elapeyre_at_my-deja.com> wrote in message news:82fvd1$vv$1_at_nnrp1.deja.com...Received on Tue Dec 07 1999 - 18:44:08 CET
> I want to launch an external application (Acrobat
> reader) from within a form without using an OLE
> container.Just want a button to launch the
> application.
>
> thanks for your help,
>
> Eric
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.