Questions tagged [jacob]

JACOB is a JAVA-COM Bridge that allows you to call COM Automation components from Java.

JACOB is a JAVA-COM Bridge that allows you to call COM Automation components from Java. It uses JNI to make native calls to the COM libraries. JACOB runs on x86 and x64 environments supporting 32 bit and 64 bit JVMs.

https://sourceforge.net/projects/jacob-project/

206 questions
3
votes
1 answer

Can't co-create object / Can't find moniker | Jacob

When creating an ActiveXComponent using JACOB I get the following error. com.jacob.com.ComFailException: Can't co-create object at com.jacob.com.Dispatch.createInstanceNative(Native Method) at com.jacob.com.Dispatch.(Dispatch.java:99) …
Roel Veldhuizen
  • 4,613
  • 8
  • 44
  • 78
3
votes
1 answer

How to create an object using JACOB

I managed to load two dll's System.load("C:\\Program Files (x86)\\EXAMPLE Client\\Bin\\EXAMPLE.Client.SDK.dll"); System.load("C:\\Program Files (x86)\\EXAMPLE Client\\Bin\\EXAMPLE.Common.SDK.dll"); Next step is to create on object calls…
Roel Veldhuizen
  • 4,613
  • 8
  • 44
  • 78
3
votes
1 answer

How to Read an Excel Personal Macro from java with Jacob

I got to execute a macro of a excel file from jacob, but now i want to execute a personal.xlsb!mymacro and my java program throw error. I don't know how to write the name of the personal macro, i put: String…
Sisi002
  • 65
  • 3
  • 8
3
votes
1 answer

Java JACOB retrieve all the properties for a given Win32_* class object

I am currently working on a java-base cross-platform software distributor and I chose to use native OS mechanisms to prevent the users from having to do any setup before hand. I chose JSCH for SSH2 and JACOB for Java. I realize that JACOB limits me…
ChristianB
  • 153
  • 3
  • 13
2
votes
1 answer

How to change the active Page in Visio through JACOB Library

I can change a activePage in Visio with VBA code (with Macro Recorder) in Visio for Example from X Page to page "Main" Application.ActiveWindow.Page = Application.ActiveDocument.Pages.ItemU("Main") I tried it translate in java with JACOB…
Tolga Ulusoy
  • 143
  • 1
  • 7
2
votes
1 answer

EXCEPTION_ACCESS_VIOLATION in Jacob dll using VM in Jenkins pipeline

We are going through a problem probably related to Jacob 1.14.3 dll when being used inside a Virtual Machine. When running our automation script from the jenkins pipeline inside our windows server VMs (master/slaves) the following error is shown in…
Breno Baiardi
  • 99
  • 1
  • 16
2
votes
0 answers

Java iTunes COM interface Jacob - Get PersistentIDs (PersistentIDLow and PersistentIDHigh)

I have some problems to understand the iTunes COM interface with Jacob in reference to the PersistentIDs (PersistentIDLow and PersistentIDHigh) to identify playlists and tracks by unique key in iTunes. I hope someone can tell me what I'm doing…
Michael
  • 71
  • 1
  • 5
2
votes
1 answer

Converting Java code thats calls iTunes DLLs from using Com4j to Jacob

I currently use Com4j to talk to iTunes from my Java app, unfortunately it does not work with 64bit Java and looks like it never will, so Im trying to use an alternative called Jacob instead. Both libraries provide a tool to generate Java classes…
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
2
votes
1 answer

Getting output parameter value set by VBScript (WMI) method in java via JACOB

Am trying to convert a VBScript to java using JACOB - Java COM bridge library. 'Create' method in VBScript accepts a [out] param in it's method and it sets it upon method execution and i couldn't figure out how to retrieve it back via…
Hari
  • 384
  • 1
  • 6
  • 20
2
votes
1 answer

com.jacob.com.ComFailException: Can't map name to dispid. Random failures

We have developed a COM Object which is an .exe file and runs as a service in background. We are trying to connect to the object using JACOB. Introduction: On start up create an activeXcomponent and call Connect method of the object. Connect method…
2
votes
1 answer

Access to a DOORS using Java

I wanna get data from DOORS with Java. I found out that I can run DOORS using Jacob but it doesn't work. Can anyone please guide me to the solution even without using Jacob? I appreciate if someone can give me some specific code. My code : import…
Sana.Mejri
  • 21
  • 2
2
votes
0 answers

How to get read only text from a list present in a application window using java with the help of autoit?

I have an application window open. This window contains a list of connections. I want to uniquely retrieve the text(i.e. connection name) which is in read-only state from the list using java with the help of autoIt. I have got two connections in the…
pranavs
  • 21
  • 2
2
votes
3 answers

Jacob.jar cannot find jacob-1.18-x86.dll

I am trying to write Java code that uses autohotkey, specifically the autoitx4java implementation. I have the imports import java.text.SimpleDateFormat; import java.util.Date; import autoitx4java.AutoItX; As well as have added Jacob.jar,…
user3476534
  • 220
  • 1
  • 4
  • 15
2
votes
1 answer

JACOB throws EXCEPTION_ACCESS_VIOLATION

We are getting EXCEPTION_ACCESS_VIOLATION error on our windows server, but we are not able replicate/reproduce this error. # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at…
cooltech
  • 63
  • 4
2
votes
3 answers

Java, Jacob and Microsoft Outlook events: Receiving "Can't find event iid" Error

I am writing a Java program that interacts with Microsoft Outlook using the Jacob library (bridges COM and Java). This program creates a new MailItem, displaying its Inspector window to the user. I wish to subscribe to the inspector's Close event to…
Adam Paynter
  • 46,244
  • 33
  • 149
  • 164
1 2
3
13 14