I run the JacobieSimpleIETest, using Jacob1.7 and
Jacobie1.3, and Excpetion is thrown on the line:
System.out.println("IE Path is: [" + theIE.getPath()
+ "]");
com.jacob.com.ComFailException: A COM exception has
been encountered:
At Invoke of: Path
Description: An unknown COM error has occured.
at com.jacob.com.Dispatch.invokev(Native
Method)
at com.jacob.com.Dispatch.get(Dispatch.java)
at net.sf.jacobie.ie.IE.getPath(IE.java:250)
at test.JacobieSimpleIETest.main
(JacobieSimpleIETest.java:30)
Then I change to the newer version of Jacob, such as
1.10 and 1.9, on the line:
theIE.setVisible(true);
Exception is thrown:
java.lang.NoSuchMethodError: com.jacob.com.Dispatch.put
(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;
)V
at net.sf.jacobie.ie.IE.setVisible(IE.java:125)
at test.JacobieSimpleIETest.main
(JacobieSimpleIETest.java:28)
Can you tell me on which version of Jacob and Jacobie
the JacobieSimpleIETest is based?
Thanks for reading
Logged In: YES
user_id=1388398
I resolved the problem above, but still I can use jacobie
to access application with frames
com.jacob.com.ComFailException: A COM exception has been
encountered:
At Invoke of: frames
Description: No such interface supported
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.get(Dispatch.java)
at net.sf.jacobie.ie.Document.getFrames
(Document.java:117)
at net.sf.jacobie.ie.Document.hasFrames
(Document.java:88)
Is this feature not implemented?