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
1
vote
1 answer

jacob com.jacob.com.ComFailException: Can't map name to dispid: CardNumber[0] git hub ZkemSDK project

i am in project to connect with access control and attendance machine i found this project that connect to same type using java in github but in line that i want to Set CardNumber property i have an exception "com.jacob.com.ComFailException: Can't…
1
vote
1 answer

Jacob Com Outlook send mail using Dispatch.call

Hey all I am trying to send out an outlook email from Java using the JACOB COM activex code. This is currently my code: import com.ibm.rational.test.lt.kernel.services.ITestExecutionServices; import com.jacob.activeX.ActiveXComponent; import…
StealthRT
  • 10,108
  • 40
  • 183
  • 342
1
vote
1 answer

How do I resolve the "no jacob-1.xx-x86" Unsatisfiable Link Error in Apache Tomcat?

Tomcat keeps throwing an Unsatisfiable Link Error for Jacob, despite the fact that I have copied the Jacob jar into the libs directory for Tomcat. What am I missing?
Agi Hammerthief
  • 2,114
  • 1
  • 22
  • 38
1
vote
1 answer

Synchronization between Java Application and Microsoft Application via Jacob

In my java application I am connecting to Microsoft Excel with Jacob libraries. Everything is fine but I do not know how I can catch com events when any changes in Excel page occurs by using Jacob libraries. For example, In my project I connect…
olyanren
  • 1,448
  • 4
  • 24
  • 42
1
vote
1 answer

Integrating Tomcat and Microsoft Outlook using Jacob

I have a Java application running on Tomcat which needs to generate an email to Outlook on the connecting client's computer. Currently my code is always directing the email to Outlook on the server where tomcat is running and not to the connecting…
Med
  • 11
  • 2
1
vote
4 answers

Issue in accessing jacob-1.18-x86.dll at run time

Problem in resolving jacob-1.18-x86.dll , it cannot accessed at run time while i can successfully compile program. SEVERE: Servlet.service() for servlet dispatcher threw exception java.lang.UnsatisfiedLinkError: no jacob-1.14.3-x64 in…
1
vote
1 answer

Can't co-create object at com.jacob.com.Dispatch.createInstanceNative(Native Method)

I'm trying to use autoit with Java so I added jacob jar and autoitX4 to my project.But I got this error : 'Exception in thread "main" com.jacob.com.ComFailException: Can't co-create object at com.jacob.com.Dispatch.createInstanceNative(Native…
Asma
  • 29
  • 10
1
vote
1 answer

Want to disconnect or delete PST from Outlook with Jacob jar

I am using Jacob jar file to save msg. To connect the pst i am using the below code: ActiveXComponent ol = new ActiveXComponent("Outlook.Application"); if (ol != null) { try { System.out.println("try block...."); Dispatch olo =…
user599986
  • 11
  • 2
1
vote
0 answers

Java - Jacob Multitheading

In my website, there's a feature which opens an Excel file on the machine and deals with it thanks to Jacob library (jacob-1.14.3). This code is called from a new thread everytime: //In a new thread everytime ActiveXComponent excelApp = null; try { …
Michael C.
  • 21
  • 2
1
vote
0 answers

Problem using JACOB to open an Excel spreadsheet generated using POI in Office 2010

At work we have a very old, but stable, applet that takes two excel spreadsheets (one acts as a template and the other as a data source). The template is created by the user in Excel, but the data source is created using POI in a web application.…
Steve Bosman
  • 2,599
  • 1
  • 25
  • 41
1
vote
0 answers

Run ms-access function using jacob - Run-time error 3073 Updateable Query - Opened it read-only

I'm attempting to run an Access function through Java using Jacob using Application.Run (https://msdn.microsoft.com/en-us/library/office/ff193559.aspx). I am able to open and close an Access database, but not run a function. I suspect the run call…
Holly
  • 55
  • 1
  • 7
1
vote
0 answers

Get list of opened Excel files (workbooks) from Java

I have a problem with the integration of MS Excel into my java application. I use Jacob to talk to Excel via the COM API, which generally works fine. An XLS file can be opened from the application, and changes are properly stored. But then I just…
avh
  • 178
  • 2
  • 11
1
vote
0 answers

How to get repose from Outlook using java and JACOB that mail is send or cancel by user

I'm using JACOB to open and display email via Outlook. The code is working fine and when i press a button it open outlook "send mail window" with the attachment and text. My problem is i want to get response from outlook that user press send or…
Aqeel Haider
  • 603
  • 7
  • 24
1
vote
1 answer

JACOB:Presentation.Export : PowerPoint can't save ^0 to ^1

public boolean PptExport2Png(String filePath,String exportPath){ Boolean flag = false; ActiveXComponent component = new ActiveXComponent("PowerPoint.Application"); try{ Dispatch presentations =…
oracle
  • 11
  • 2
1
vote
2 answers

What is a valid COM structure for JACOB library?

I'm using the JACOB (Java COM Bridge) library to call registered COM Objects from my Windows OS. It took me a while until I figured out how JACOB works and to set up everything. So my current problem is that: ActiveXComponent comp = new…
LOLWTFasdasd asdad
  • 2,625
  • 5
  • 26
  • 39