Calling file displaying with the file's default program from a Fortran Windows App.

Calling file displaying with the file's default program from a Fortran Windows App.

Thank you, first of all, for reading this; and please accept my apologies for any grammatical or lexical mistake, since this is not my native language.

Getting down to business, I want my Fortran Windows application to call the Windows Notepad program when I push a button, displaying automatically a .txt file.
Right now, when I push the button on the dialog, the program executes the required i/o operations with the .txt file; but, when I want to see the results, I have to open the file myself.
Is there any way of opening this file from within my program with the Notepad?

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

The easiest way is to call RUNQQ with a NOTEPAD command. If you want more control, see the CreateProcess Win32 API routine.

Steve

Steve - Intel Developer Support

Leave a Comment

Please sign in to add a comment. Not a member? Join today