Re: Making IE and a standalone Java application communicate...
From: Patrick Ma (pma_at_partssolution.com)
Date: 08/17/04
- Next message: Banner: "Locate DLL from CLSID"
- Previous message: Igor Tandetnik: "Re: literal meaning of the word activex"
- In reply to: Igor Tandetnik: "Re: Making IE and a standalone Java application communicate..."
- Next in thread: Igor Tandetnik: "Re: Making IE and a standalone Java application communicate..."
- Reply: Igor Tandetnik: "Re: Making IE and a standalone Java application communicate..."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 17 Aug 2004 20:28:41 GMT
Igor,
Thanks very much for the response.
>> 1. Is it possible to write an ActiveX control to be embedded in a web
>> page so that when an URL link is clicked in this web page, the
>> ActiveX control can be notified of the click and get the clicked URL
>> string?
> Yes it is possible.
Please verify if this is the correct approach.
1. Write a GUI-less ActiveX control.
2. Embed this control in a web page.
3. In the initialization code of the ActiveX control, it can register itself
as a listener of the *currently run IE instance*.
4. When a URL link is clicked in this instance of IE, the ActiveX control
will be notified.
>
>> 2. If the above is possible, can this ActiveX control in turn send
>> the intercepted URL string to an external application, in this case,
>> a Java application? When the Java application is started, is it
>> possible to find and connect to the ActiveX control so that it can
>> register itself as a listener?
>
> Should be possible, but note that I don't know much about Java and
> interprocess communication mechanisms it might support.
There are Java to COM mechanism available that can let Java call COM and let
Java receive events from COM. One thing I am not sure is that given the
above ActiveX control, how can Java *find and connect* to it and register as
a event listener. In other words, is there an OS mechanism for a process to
find and connect to a running COM server?
Patrick Ma
- Next message: Banner: "Locate DLL from CLSID"
- Previous message: Igor Tandetnik: "Re: literal meaning of the word activex"
- In reply to: Igor Tandetnik: "Re: Making IE and a standalone Java application communicate..."
- Next in thread: Igor Tandetnik: "Re: Making IE and a standalone Java application communicate..."
- Reply: Igor Tandetnik: "Re: Making IE and a standalone Java application communicate..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|