VisKProg HELP - GetOpenFilename


See also *** Example *** Function index

The GetOpenFilename function shows an "Open" dialog and returns the selected filename.

Syntax:

    [ return_value = ] GetOpenFilename ();

Detailed description:

If you want to open or save files, you must first ask the user which file to open. This function shows a file-open dialog to the user, that allows him to select any file. Then it returns the selected filename in the return value (or "" if the user canceled the dialog). You can use the readFile function to read the contents of the file, after the user selected the filename.

See also:

GetSaveFilename function, ReadFile function, WriteFile function,


© 2000 by Christoph Pinkel