Internet Explorer, Active X and Java

Dawn M

Member
I need to open an Internet Explorer session on the client side
(Progress V9) and call the following URL:

http://www.rateexplorer.com/RQNVOCC.HTML?jvmven=Sun+Microsystems+Inc.&jvmver=1.5.0_06&msjvmver=0

This web page contains Java. But when I call it with the following Active X code, the Java doesn't load. (There's a message on the bottom of the screen that says "Your web browser must have JavaScript enabled to view this page correctly".)

Here's the code I'm using:

define variable objExplorer as com-handle no-undo.
define variable xurl as character no-undo.

assign xurl = "http://www.rateexplorer.com/RQNVOCC.HTML?" +
"jvmven=Sun+Microsystems+Inc.&jvmver=1.5.0_06&msjvmver=0".

create "InternetExplorer.Application" objExplorer.

objExplorer:visible = yes.
objExplorer:Navigate(xurl).

no-return-value objExplorer:quit().
release object objExplorer.

So, how do I get the Java to enable? I'm completely open to anything that will accomplish it.

Any help will be greatly appreciated.
 

TomBascom

Curmudgeon
JavaScript <> Java.

The error message would seem to be saying that you have JavaScript disabled in IE. So fire up IE, go to the "tools" or "internet options" or some such menu, dig around and find the checkbox for enabling JavaScript (I know that I'm being vague -- but I try not to use IE so the exact path through the menus isn't something that I know).
 

Dawn M

Member
Thanks, Tom.

When I bring up the URL manually, the Java loads just fine. So my IE settings are ok. I'm thinking I need some kind of IE setting that I need to call with my code.

Yup, JavaScript <> Java. The Java "logo" gets fired up when I bring it up manually, but the JavaScript error comes up when I run my program. So the code probably has issues with both Java and JavaScript.

Still looking for other suggestions...
 
Top