Is there any way to determine in code whether the active program/session has been called from inside of EViews (e.g. was started through the menus or a command such as "exec file.prg") or from outside of EViews (e.g. was started by double-clicking a .prg file in Explorer)?
The reason I am wondering is that I would like EViews to close after executing a file if, and only if, that file has been called through Explorer.
Calling program from out-/inside of EViews?
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Calling program from out-/inside of EViews?
Not that I can think of.
You could, I suppose, use a program argument, and then every time you run it from within EViews pass in that argument that tells the program not to exit. (or vice versa).
You could, I suppose, use a program argument, and then every time you run it from within EViews pass in that argument that tells the program not to exit. (or vice versa).
Who is online
Users browsing this forum: No registered users and 2 guests
