I edit the EViews program in an additional text editor. When you double-click on the prg-file opens the program in EViews internal editor. It would be great if you could control this in the "Options" or if the code was able to close the program files, for example something like "close @prg"
Sincerely, Johan
Close *.prg-files via code
Moderators: EViews Gareth, EViews Moderator
-
- Posts: 160
- Joined: Thu Mar 03, 2011 10:07 pm
- Contact:
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13317
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Close *.prg-files via code
I'm not sure what you're getting at here.
If you simply want Windows to not associate a .prg file with EViews, then change that setting in Windows.
If you simply want Windows to not associate a .prg file with EViews, then change that setting in Windows.
Follow us on Twitter @IHSEViews
-
- Posts: 160
- Joined: Thu Mar 03, 2011 10:07 pm
- Contact:
Re: Close *.prg-files via code
Well there's a solution, but I like to kick-start programs via Windows Explorer (double click) or for that matter via a batch file, or via my external editor. But I do not want to open the prg file when I call it, just execute it.
This works in the command window by using, for example, "exec c:\temp\temp.prg". A run through an external program is matched in EViews as "run c:\temp\temp.prg", with an open prg file in EViews as a result. But maybe the easiest would be if you could close the prg files in code by example "close @prg"
Sincerely, Johan
This works in the command window by using, for example, "exec c:\temp\temp.prg". A run through an external program is matched in EViews as "run c:\temp\temp.prg", with an open prg file in EViews as a result. But maybe the easiest would be if you could close the prg files in code by example "close @prg"
Sincerely, Johan
Re: Close *.prg-files via code
Hi Gareth!
This topic remind me an old doubt: is there a way to order a .prg to auto close/close itself at the end of the routine?
Tks in advance,
Fabio
This topic remind me an old doubt: is there a way to order a .prg to auto close/close itself at the end of the routine?
Tks in advance,
Fabio
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13317
- Joined: Tue Sep 16, 2008 5:38 pm
Return to “Suggestions and Requests”
Who is online
Users browsing this forum: No registered users and 25 guests