artist has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

Here is YAQ (Yet Another Question).

I have a USER who selects hyperlink via Browser using Win32::OLE and another program running and processing those hyperlinks.

Questions:
1.
Using Win32::OLE my perl program P1 opens browser(read:Internet Explorer) A.
I do have full control of this browser events.
USER selects a link which opens(Read:is programmed by the site to open via whatever mechanism including Javascript) another browser B.
How I can have control of this Browser B?
.

2.
How do I data-structure hyperlinks in such a way that any other program P2 would get these hyperlinks and process as soon as possible. P1 and P2 should run independently. If P2 for some reason cannot process hyperlink (ie.. returns failure it should be stored). P1 need not be aware of P2 and vice versa. There could be P3 also just like P2 which may be unaware of P1 and P2.
For the purpose of current question, just consider hyperlink as any data in XML Form.

3.
The front-end interface is TK. Would any other choice be better?

Thanks,
Artist

Replies are listed 'Best First'.
(crazyinsomniac) Re: Strucutred Internet Programming
by crazyinsomniac (Prior) on Oct 03, 2001 at 10:27 UTC
Re: Strucutred Internet Programming
by theorbtwo (Prior) on Oct 03, 2001 at 03:33 UTC
    I can't help you as to 1 & 2; it's been a while, and I'm in linux now, so can't look around easily. As to 3, however, you're probably better off using Win32::GUI; it'll fit better into the rest of the user's experince. (And you can probably get it to host IE inside of it's UI, which might be a Good Thing depending on what exactly it is that you're doing.)
    Thanks,
    James Mastros,
    Just Another Perl Initate
      There is currently no way of displaying an IE (or any ActiveX) object inside Win32::GUI (that I know of).

      It would be immensely useful though, so I have been looking into the matter a bit and have done some basic research on how to implement an ActiveX container control, but that's about it.

      /J

        Hi
        No I don't want to display the Browser under WIn32::GUI
        I am just looking for reference to the 'new browser window' opened via a link in the old browser.

        Thanks,
        Artist