- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The easiest way is to call RUNQQ with a NOTEPAD command. If you want more control, see the CreateProcess Win32 API routine.
Steve
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page