|
|
 |
 |
 |
 |
Fortran Programming Language
|
 |
 |
 |
 |
 |
 |
 |
 |
Best Interaction between WEB Browser and Fortran Programs
Dear All, I am currently developing a Window API where the user enters commands in an editbox control, the program generates HTML results to be dispayed by the Web Browser (WB). To easily interact between my program and WB, I used the COM wizard to implement IweBBrowser2 (from ShDocvw.dll). This works fine: easy to open a Web-Window, to define browser characteristics from the calling program, to end the browser. Only one major problem: If the user has already a previous instance of the Browser, this instance is used, and the user can not see the results as the browser may not be topmost. I wish to use a new instance of the browser and/or topmost on the screen. In the SDK function IwebBrowser_Navigate, parameter Variant Far*Flags determines if the window is a new instance. I unsuccesfully tried to modify this parameter, and did not find any clear explanation as to how doing that. Question 0: wihout using Perl or any other WEB languages (I am mathematician, not computer expert), do you know an easier way to interact with the Browser, in remaining into the CVF/IVF environment ? I found excellent suggestions from Dr Lionel on ShellExecute, but this remains limited, in particular impossible to close the WB application from the calling program, or fixing WB window dimensions, ... Question 1: If you already had this problem, can you please indicate me how to introduce this FLAGs parameter, or at least recommand where to read something clear on this ? Question 2: I am still on CVF6.6 and start to migrate to IVF. apparently Wizard COM is not implemented on CVF, but I presume the generated fortran code and interaction with IwebBrowser will run (True?) Many thanks for your time, and your very appreciated expertise. Professor Philippe Lehert, PhD Statistics department Faculty of Economics Louvain Academy Belgium
Philippe Lehert wrote: > Dear All, > I am currently developing a Window API where the user enters commands > in an editbox control, the program generates HTML results to be > dispayed by the Web Browser (WB). To easily interact between my > program and WB, I used the COM wizard to implement IweBBrowser2 (from > ShDocvw.dll). This works fine: easy to open a Web-Window, to define > browser characteristics from the calling program, to end the browser. > Only one major problem: If the user has already a previous instance > of the Browser, this instance is used, and the user can not see the > results as the browser may not be topmost. I wish to use a new > instance of the browser and/or topmost on the screen. In the SDK > function IwebBrowser_Navigate, parameter Variant Far*Flags determines > if the window is a new instance. I unsuccesfully tried to modify this > parameter, and did not find any clear explanation as to how doing > that. > Question 0: wihout using Perl or any other WEB languages (I am > mathematician, not computer expert), do you know an easier way to > interact with the Browser, in remaining into the CVF/IVF environment ? > I found excellent suggestions from Dr Lionel on ShellExecute, but this > remains limited, in particular impossible to close the WB application > from the calling program, or fixing WB window dimensions, ... > Question 1: If you already had this problem, can you please indicate > me how to introduce this FLAGs parameter, or at least recommand where > to read something clear on this ? > Question 2: I am still on CVF6.6 and start to migrate to IVF. > apparently Wizard COM is not implemented on CVF, but I presume the > generated fortran code and interaction with IwebBrowser will run > (True?)
Hi, a great place to ask these questions is: http://softwarecommunity.intel.com/isn/Community/en-US/forums/1005/Sh... > Many thanks for your time, and your very appreciated expertise. > Professor Philippe Lehert, PhD > Statistics department > Faculty of Economics > Louvain Academy > Belgium
-- Gary Scott mailto:garylscott@sbcglobal dot net Fortran Library: http://www.fortranlib.com Support the Original G95 Project: http://www.g95.org -OR- Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html If you want to do the impossible, don't hire an expert because he knows it can't be done. -- Henry Ford
|
 |
 |
 |
 |
|