Re: Opening a file in Forms 4.5

From: Olga Greep <olga_at_hi.nl>
Date: Mon, 6 Mar 2000 15:38:55 +0100
Message-ID: <8a0g1o$23lqn$1_at_reader4.wxs.nl>


Hi,

When I understand you well, you want to go outside forms to open a file of your choice?

you can make use of the built-in HOST
Here is how you can open a word-document named 'my_doc' that is stored in c:\test

e.g. in a when-button-pressed trigger type:

host('C:\Program Files\Microsoft Office\Office\WINWORD.EXE c:\TEST\MY_DOC');

the first half is to start Word, (you see the path of the winword executable), the second half is the path to the file. When you need to go to a dos-program you cannot make use of filenames longer than 8 positions. You should abbreviate the dir- or filename like this: e.g. microsoft office would be : micros~1 (6 positions plus ~1).

Hope this helps you

greetings
Olga Greep

Stephane Butty wrote in message <89vlpv$3pp$1_at_pollux.ip-plus.net>...
>I would like to create a field in which it is possible to open/select a
file
>stored in in the window file system. Do you know I can do that directly in
>Forms 4.5 ?
>Thanks for your reply ?
>
>
Received on Mon Mar 06 2000 - 15:38:55 CET

Original text of this message