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
0
votes
1 answer

JACOB - Remote Dispatch call to COM Interface

I'm using JACOB in order to write message to a COM interface. Dispatch dispatch = new Dispatch(""); Variant response = Dispatch.call(dispatch, , message); This works perfectly on localhost. But how can I use JACOB api to…
Himanshu Arora
  • 688
  • 1
  • 9
  • 20
0
votes
1 answer

Is it possible to listen to an event in MS Word in java?

I'm making an application when an user can modify the content of a MS Word document and when the user clicks the saving button, the file will be send to the server. So I just wanted to known if it's possible with JACOB or any other COM wrapper…
xEkulx
  • 1
0
votes
2 answers

How can I change the active MS Word window with JACOB?

I am using the JACOB library. I can create a new instance of activeXComponent("Word.Application") and then open some file. How can I get the instance of a file that I've already opened? In MS Word macros I can use Windows("name.doc").Activate, where…
Alur
  • 1
  • 1
0
votes
1 answer

Calling Windows COM interface and get Response

I have a system that has Windows COM interface so that external applications can connect to it and it has following details Interface: InterfaceName Flags: (1234) Dual OleAutomation Dispatchable GUID: {ABCDEFG-ABCD-1234-ABCD-ABCDE1234} I'd like to…
Himanshu Arora
  • 688
  • 1
  • 9
  • 20
0
votes
0 answers

Jacob WMI putOption

I am using Jacob and have a a requirement to use 'CreateOnly' put option through it. The C# code for this is as follows: PutOptions options = new PutOptions(); options.Type = PutType.CreateOnly; I need to corresponding Java Jacob code that would…
0
votes
2 answers

Jacob 1.14.3 DLL no detected by the java.libary.path using Eclipse

I am trying to implement the library JACOB to communicate to some payments devices such as PINPADs. I have created a java project but when the main class execute the method that use the DLL in the runtime gives a error no jacob-1.14.3-x64 in…
Alejandro
  • 82
  • 3
  • 12
0
votes
1 answer

java code to Delete Run instance in Alm

I have requirement to delete run instance in ALM though automation scripts using selenium. Please note that I have used jacob lib to connect to ALM and update the test steps automatically in ALM. Delete is not working and I am getting error…
Manasa
  • 11
  • 4
0
votes
1 answer

Running Personal VBA code with Jacob in Java

Before asking my question I searched a lot but I can't find an answer. In fact, I managed to run a custom macro from Java but before finishing it shows me an error message saying type mismatch on a line of code in VBA beside when I run it manually…
0
votes
1 answer

Excel file is not printed out completely

I am using JACOB to print out the Excel file. This file is created by means of Apache POI. When I save the file or send it to Outlook, everything is OK, the file contains all sheets. But when I send the file to shared printer, it starts to print,…
Summer256
  • 56
  • 5
0
votes
2 answers

Can we use jacob.jar in linux env?

I am working with Jacob jar for some of the operation involves bridging to COM objects. In windows I have loaded Jacob.dll explicitly, I have done a little search over internet to find the supported .so file for Linux, but I did not found the…
Chandan D N
  • 335
  • 1
  • 4
  • 16
0
votes
1 answer

LDAP with Jacob-ADO-Wrapper

after a little bit of trying I managed to get results from the ldap-server at my company. Now I have a little problem and I seem to be too dump to find any documentation about it. Command objCmd = new Command(); Recordset RS = new…
Patrick.H
  • 535
  • 3
  • 6
  • 21
0
votes
1 answer

Using JACOB SafeArray getDoubles() method

I'm trying to extract from an Excel Workbook a vector of double values. Excel looks like does not return a unidimensional array, but a multidimensional one (number of dimensions is 2). The data I have from Excel is in SafeArray format (I can have…
Milo Casagrande
  • 135
  • 1
  • 3
  • 11
0
votes
1 answer

Automating web application with Jacob api and selenium is produces UnsatisfiedLinkError

I have used Jacob Api for uploading files on automating web application with selenium, but it produces UnsatisfiedLinkError. Am new for Jacob api to file upload so please help and thanks in advance. Sample Script:- public class FileUpload { …
Thangaraj
  • 257
  • 3
  • 13
0
votes
1 answer

jacob Can't QI object for IDispatch

My environment is Java 8, on Windows 7 - 64 bit. So here's my requirement and procedures I followed java:java version "1.8.0_131" 32 bit jacob:jacob-1.18-x86.dll &jacob.jar i use the eclipse to run the following code .it works well. import…
chunguiw
  • 831
  • 9
  • 6
0
votes
2 answers

AutoItX Can't load library jacob-1.18-M2-x64.dll

I'm trying to run AutoItX in a Java project. I can't find any useful guide to add .dlls to my project using IntelliJ. I added the .jars & .dlls I need in the File > Project Project Structure > Libraries but I still get the following error: Exception…
NoSector
  • 21
  • 5