I am using:
ShellExecute(NULL, "open", "http://www.theaddress.com/index.html", 0, 0,
SW_SHOWNORMAL);
to load up a page and it works fine, but what I would really like is to be
able to load up a specific html page in the frame "main" in the index.html.
Is this possible?
Thanks.
Pretty much the only way to do it is to first load the main page, then
manipulate IE's COM interfaces directly to iterate through IE's DOM
(Document Object Model) and get control of the desired frame and force it to
re-load the desired page inside of it.
Gambit
"Jim Menges" <j...@imperialstar.com> wrote in message
news:3cfe6529_2@dnews...
I wonder though, since I have been cramming JavaScript, CGI, and Perl into
my brain lately (and running out of room up there) if maybe I can somehow
work in a JavaScript function on the site that checks OnLoad whether it is
being loaded from the web, or from one of my programs, and then reacts
acordingly...
Looks like I have a lot more work to do here.....
Thanks again for the info / help.
Remy Lebeau [TeamB] <gamb...@yahoo.com> wrote in message
news:3cfe6be2$1_1@dnews...
Jim Menges wrote:
[snip]
ShellExecute(NULL, "open",
"http://www.theaddress.com/index.html?some_value", 0, 0, SW_SHOWNORMAL);
Then have that file dynamically generate the HTML for the page, setting the
frame's src attribute dynamically as appropriate based on that query
parameter. Both Perl and Javascript can access the URL's query parameters.
Gambit
"Jim Menges" <j...@imperialstar.com> wrote in message
news:3cfe72ea_1@dnews...