Discussion Locked

command line parameters for IEXPLORE.EXE

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We are attempting to programmaticaly open a web browser from a DOS based app in our company intranet. We have been successful in this regard except that each each time the DOS app. performs this open, it opens IE in a new process disallowing access to any session vars (on the web server) that may already have been set. The end result is a grossly inefficient system.

The question: Are there command line switches that would tell IE to use an existing process? If not, is there a way (in a DOS environment, mind you) to query the PID of a currently running instance of IE and open a URL with it.

(Sorry if my terminology is off: the perils of being self taught....)

4 replies

by pvp

Your terminology is close enough, but you never mentioned the OS. Obviously some flavor of Win, but 9x/NT/2K?

You might want to check www.cuj.com (C/C++ Users Journal) and www.wdj.com (Windows Developers Journal); seems to me one of them has a recent article on performing browser requests (i.e., page retrival) programmatically. You might just where you want to be with this approach; it doesn't sound to me like you really want the browser per se.

by al_<al

Sometimes knowing what's not possible is just as good as knowing what is. I'm off to tinker with VB....Thanks!

by al_<al

Thanks. I'll check out the sites you mention. We actually do want the browser since we have a pretty elaborate web application server going. I'm trying to integrate the two systems with a query string and many, many SQL tables. I may need to build acompiled widget for this purpose....?

The client OS can vary. I need to support Win 95/98/2K.

This discussion is closed to new replies.