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
0 answers

vb6 program from java using jacob?

I use jacob and Sample Program. I have bean finished DLL(ANT_Registration.dll) registeration to .Net Framwork. I cannot call fucntion Decryption from vb6 program. public class Encoder { public String encode(String value) { …
Zaw Than oo
  • 9,651
  • 13
  • 83
  • 131
0
votes
1 answer

Java, Jacob and Microsoft Word: how to properly handle events?

My goal is to write an java applet application that writes a word document(this document is fetched from DB)in a temporary directory on client machine and opens that document using Jacob. Through Jacob I need to keep the handle to the opened…
0
votes
1 answer

How to execute ms word VBA with JACOB

I added a VBA procedure (saveasdoc) to Normal.dot. I have tested it with a .docx file: Saves the opened file with same name to a new .doc file. Exits the application MS Word. I want to run this VBA procedure from a Java Application using the…
Jalal Sordo
  • 1,605
  • 3
  • 41
  • 68
0
votes
1 answer

run excel using com interface

am trying to run excel using jacob , but it keeps throwing an exception , been searching for awhile for a cause of such exception , but no good package com.se.jaexcel; import com.jacob.activeX.ActiveXComponent; import com.jacob.com.Dispatch; import…
Exorcismus
  • 2,243
  • 1
  • 35
  • 68
0
votes
3 answers

Jacob: com.jacob.com.ComFailException: Can't co-create object

I am facing exception Exception in thread "main" com.jacob.com.ComFailException: Can't co-create object while running the code below. I checked online for help. Some sites say that I need to register my dll. I tried registering using regsvr32.exe.…
Shonali
  • 11
  • 1
  • 1
  • 1
0
votes
0 answers

Mail merging with JACOB

I'm developing a CRM in Java and I need to mail merge my contacts into a template file, so I searched a bit around how to do it and the only satisfying answer was to use COM via JACOB But I prefer to ask experienced people on it before starting to…
Pomoa
  • 1
  • 2
0
votes
1 answer

Using MapPoint from Jacob (java com)

I need to create in java a widget with a MapPoint element. I found a tutorial to open Mapoint Application and using function. But i didn't found any to integrate it in a widget. How can integrate it in a widget? EDIT: I can use an other free…
0
votes
1 answer

How do I call a DOTNET DLL and pass the variable using JAVA applet

I have a DLL build in DotNET. My application is a Java based hosted on the APACHE server and accessed through the web browser on thin client. Now I will place the DOTNET DLL file on the thin client and not on the server and I want to call this DLL…
0
votes
1 answer

Call function failing in JACOB

Am trying to call a function called "set" using COM interface am getting the exception Exception in thread "main" com.jacob.com.ComFailException: Can't map name to dispid: set eventhough when I try to call the function in matlab, it's working…
Exorcismus
  • 2,243
  • 1
  • 35
  • 68
0
votes
1 answer

error Jacob Library under lotus domino (unsatisfied linkError :jacob-1.17-x64(Library is already loaded in another classloader)

I have a webagent under lotus domino xpages that use jacob Library to execute macro under Microsoft Excel the agent work randomly and i have frequently an error. The error came from this line in the code : final ActiveXComponent excel = new…
user2452344
  • 51
  • 1
  • 5
0
votes
1 answer

access attributes of an object using COM interface

am using JACOB as a bridge with java to access objects of a simulator (PTV vissim)to be able to manipulate it in real time , most objects has methods and properties... i was going well , because i was using the ... getProperty and invoke functions…
Exorcismus
  • 2,243
  • 1
  • 35
  • 68
0
votes
1 answer

Calling Excel's Solver from java using JACOB

Is it possible to use the Solver add-in to excel from java code when using Jacob? I found this, but I don't know how to take this javascript example and use Jacob instead …
user1139416
0
votes
1 answer

QueryInterface returns wrong interface in JACOB 1.17

I am trying to use JACOB 1.17 (latest stable version) to access a 64-bit in-process COM server, i.e. MyObject-x64.dll . My CoClass has two dualinterfaces: IFoo (default), and IBar. IFoo contains foo_method(), and IBar contains bar_method(). Both…
M.M
  • 138,810
  • 21
  • 208
  • 365
0
votes
1 answer

Can't create ActiveXComponent using JACOB

since migrating to Lync 2013, my code fails at ActiveXComponent officeCommunicatorActiveX = new ActiveXComponent("Communicator.UIAutomation"); with the exception: Exception in thread "Thread-10" com.jacob.com.ComFailException: Can't co-create…
Nati
  • 1,034
  • 5
  • 19
  • 46
0
votes
0 answers

DLL for PowerPoint.Application

I am working on automation of PPT slides generation. I am using Java and my application is communicating with the Microsoft Power Point with JACOB (Java-COM bridge). When I install just Power Point 2010 on my machine, my application doesn't work.…
Kashif Nazar
  • 20,775
  • 5
  • 29
  • 46