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
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
Many thanks for your time, and your very appreciated expertise.
Professor Philippe Lehert, PhD
Faculty of Economics