Re: Controlling Internet Explorer from a java application, the SHDocVw.InternetExplorer object or something similar
From: Richard Bell (rbell01824_at_earthlink.net)
Date: 02/14/04
- Next message: Tony Morris: "Re: Controlling Internet Explorer from a java application, the SHDocVw.InternetExplorer object or something similar"
- Previous message: Richard Bell: "Re: Controlling Internet Explorer from a java application, the SHDocVw.InternetExplorer object or something similar"
- In reply to: Tony Morris: "Re: Controlling Internet Explorer from a java application, the SHDocVw.InternetExplorer object or something similar"
- Next in thread: Jon A. Cruz: "Re: Controlling Internet Explorer from a java application, the SHDocVw.InternetExplorer object or something similar"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 14 Feb 2004 22:56:04 GMT
That's the question I've been asking. Any clues would be appreciated.
On Sun, 15 Feb 2004 08:48:19 +1000, "Tony Morris"
<dibblego@optusnet.com.au> wrote:
>"Richard Bell" <rbell01824@earthlink.net> wrote in message
>news:qi8t20tptpqmr80ptrv7fsba0mt1r891fq@4ax.com...
>> Tony,
>> I'm not interested in getting into a flame. Java has some native
>> interface support, JNI I think it's called, and am wondering if anyone
>> can give me a leg up on connecting into SHDocVW.InternetExplorer. My
>> understanding is that Sun provides a utility to build the interface
>> files from the underlying Windows DLL. Definitely not a big issue
>> outside any Java "ground rules". Perhaps someone else can help.
>> Thanks anyway.
>>
>>
>> On Sun, 15 Feb 2004 08:28:14 +1000, "Tony Morris"
>> <dibblego@optusnet.com.au> wrote:
>>
>> >
>> >"Richard Bell" <rbell01824@earthlink.net> wrote in message
>> >news:aq7t20dt53kupsu2i2o3lpf1h6t9ckdphj@4ax.com...
>> >> I'd like to write a Java application, that interfaces to
>> >> SHDocVw.InternetExplorer (or something materially similar). I'd like
>> >> to be able to instantiate this object, use its methods, examine its
>> >> properties, etc. Think of it as a Java application that is
>> >> controlling an instance of IE.
>> >>
>> >> Thanks
>> >>
>> >> On Sun, 15 Feb 2004 08:10:18 +1000, "Tony Morris"
>> >> <dibblego@optusnet.com.au> wrote:
>> >>
>> >> >"Richard Bell" <rbell01824@earthlink.net> wrote in message
>> >> >news:kq6t20lrv0ts6j2nqq3vlhu2n1uedti8sr@4ax.com...
>> >> >> Can it be done?
>> >> >> How?
>> >> >> Any example code?
>> >> >>
>> >> >> I'd like to write a Java application that controls Internet
>Explorer,
>> >> >> downloading arbitrary pages, examining the document object, etc. I
>am
>> >> >> able to do this via VBScript in Excell, but the size of the data I'm
>> >> >> retrieving makes this increasingly unattractive. I'd like to use
>Java
>> >> >> instead and write data to a database file. I assume someone has
>> >> >> already worked out the details and am hoping for a leg up.
>> >> >>
>> >> >> Thanks
>> >> >
>> >> >You want to write a standalone HTTP client ? or you want to "plug-in"
>to
>> >IE
>> >> >?
>> >> >
>> >> >If the former, then quite simple, investigate the java.net package.
>> >> >
>> >> >If the latter, then it's not possible - Java has no concept of
>"Internet
>> >> >Explorer" in order to maintain platform-independance.
>> >> >
>> >> >Sounds to me like you might need to learn some of the "ground rules"
>of
>> >Java
>> >> >first.
>> >>
>> >
>> ><b>
>> ><flash>
>> ><read-this>
>> >If the latter, then it's not possible - Java has no concept of "Internet
>> >Explorer" in order to maintain platform-independance.
>> ></read-this>
>> ></flash>
>> ></b>
>> >
>> >>i>
>> >Sounds to me like you might need to learn some of the "ground rules" of
>Java
>> >first.
>> ></i>
>>
>
>I don't want to flame either, I was just trying to make it clear.
>You're right, Java does support native code, and this is by way of JNI (Java
>Native Interface).
>This, however, does not alter the fact that Java does not support such
>constructs, you can wrap a native DLL in Java code, but then, of course, it
>is platform-dependant code.
- Next message: Tony Morris: "Re: Controlling Internet Explorer from a java application, the SHDocVw.InternetExplorer object or something similar"
- Previous message: Richard Bell: "Re: Controlling Internet Explorer from a java application, the SHDocVw.InternetExplorer object or something similar"
- In reply to: Tony Morris: "Re: Controlling Internet Explorer from a java application, the SHDocVw.InternetExplorer object or something similar"
- Next in thread: Jon A. Cruz: "Re: Controlling Internet Explorer from a java application, the SHDocVw.InternetExplorer object or something similar"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|