From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,d4d10419e687b087 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-12 14:25:27 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!newspump.monmouth.com!newspeer.monmouth.com!newsfeed.icl.net!isdnet!grolier!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "Beard, Frank" Newsgroups: comp.lang.ada Subject: RE: About lauching files on Win98 Date: Mon, 12 Feb 2001 17:21:51 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: avanie.enst.fr 982016651 32169 137.194.161.2 (12 Feb 2001 22:24:11 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 12 Feb 2001 22:24:11 +0000 (UTC) To: "'comp.lang.ada@ada.eu.org'" Return-Path: X-Mailer: Internet Mail Service (5.5.2448.0) Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: supernews.google.com comp.lang.ada:5198 Date: 2001-02-12T17:21:51-05:00 St=E9phane, The simplest way to launch the program from the application is to use the WinExec API. It has been superceded by the more complicated CreateProcess API, but I doubt if it will go away any time soon, if ever. Depending on your Windows API binding (we are using Aonix which I=20 think uses Intermetrics' binding), it will look something like: command : string :=3D "iexplore.exe help.html" & ASCII.NUL; status : WinApi.UINT :=3D 0; begin status :=3D WinApi.WinExec(lpCmdLine =3D> To_LPCSTR(command), uCmdShow =3D> WinApiConstants.SW_HIDE); I don't think you will need the pathname for Internet Explorer, but you will need to supply it for "help.html". Hope this helps. Frank -----Original Message----- From: St=E9phane Perret [mailto:stephane.perret@maths.unine.ch] Sent: Monday, February 12, 2001 9:39 AM To: comp.lang.ada@ada.eu.org Subject: About lauching files on Win98 Hello everybody, I doing a program and in the purpose of simplicity I prefer to do HTLM files for the=20 help stuff. The trick is to lauch the file, say HELP.HTML directly from the program with a command that I do not know. Someone gave me a procedure that lauch files by using the START = program, the heck is that during the process a very ugly dos window appears. Please, Help. _______________________________________________ comp.lang.ada mailing list comp.lang.ada@ada.eu.org http://ada.eu.org/mailman/listinfo/comp.lang.ada