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

Reading words in Ms Word and replacing it with new words (with JAVA)

I am writing a program to read some text or textfields from a Microsoft Office Word document and replace it with new words using Jacob. I got the help from this link http://tech-junki.blogspot.de/2009/06/java-jacob-edit-ms-word.html but it didn't…
A R
  • 425
  • 1
  • 5
  • 11
0
votes
2 answers

UnsatisfiedLinkError with JACOB and jre 1.7

I put together a program that uses JACOB to access iTunes ... It works fine in Eclipse but when I export it and run it in the command prompt I get an unsatisfied link error telling me that jacob-1.17-M2-x86.dll is not in my java.library.path. Ive…
Riptyde4
  • 5,134
  • 8
  • 30
  • 57
0
votes
1 answer

Found an iTunes Controller API for Java, how can I play a specific song?

//Using iTunes Controller iTunes itc = new iTunes(); itc.playFile(filePath); // Takes type String Seems like the right course of action. However, I want the user to be able to specify simply the song title... I could use a…
Riptyde4
  • 5,134
  • 8
  • 30
  • 57
0
votes
2 answers

Stop VFP from showing dialog boxes when errors occur

I am trying to call an existing VFP 6 application using Jacob which is a COM bridge for Java. val vfp = new Application(new ActiveXComponent("VisualFoxPro.Application").getProperty("Application").toDispatch()) vfp.setVisible(false) try { …
rancidfishbreath
  • 3,944
  • 2
  • 30
  • 44
0
votes
2 answers

Jacob 64bit dll not working with jre 1.6

Below are my project boundaries Windows 7 64bit jre 1.6 64 bit jacob dll (jacob-1.17-M2-x64.dll) Problem is jacob-1.17-M2-x64.dll is supporting in jre 1.7 but not with jre 1.6 Exception thrown Exception in thread "main"…
sayannayas
  • 764
  • 9
  • 15
0
votes
2 answers

Error: Could not find or load main class openWordDocument

I am trying to open Microsoft Word document using jacob. Below is code: import com.jacob.activeX.ActiveXComponent; import com.jacob.com.ComThread; import com.jacob.com.Dispatch; import com.jacob.com.Variant; public class openWordDocument { …
developer
  • 9,116
  • 29
  • 91
  • 150
0
votes
1 answer

Problems in creating test script in ALM using OTA and JACOB

I have created a piece of code in vbscript through which I am able to create test scripts in ALM via OTA. Now I am trying to do the same thing through Java using JACOB as the Java 2 Com bridge and I have been able to create an empty test script…
Lavneesh
  • 127
  • 1
  • 3
  • 10
-1
votes
2 answers

How to run VBA RGB function using Jacob for Java

I am doing some powerpoint shape building using Jacob from Java, and I am stuck on something that might be trivial, but I cannot make it work. I need to create a rectangle and change its Fill color. Here is the code from powerpoint application…
Zzirconium
  • 431
  • 1
  • 10
  • 32
-1
votes
1 answer

Windows 10 >= 1809 issues with jacob and Word ComObject

we have an old legacy app which uses Java version 1.6 update 45 (jdk-6u45-windows-i586.exe) and Jacob.dll 1.8 (jacob_18.zip), and which cannot be updated :( Everything was working fine till the latest Windows 10 1809 Update. Since then the comobject…
Stephan
  • 335
  • 3
  • 12
-1
votes
1 answer

Splitting word document to pages using JACOB

I have been trying to split a word document to pages. A through POC that led to the fact that this cannot be done through Apache POI, and consequently made me resort to JACOB to invoke MS Word as a proxy to achieve such transformation. I have made…
WiredCoder
  • 916
  • 1
  • 11
  • 39
-1
votes
1 answer

Windows FileChooser Or Save File Dialog Handling Using JACOB Or JNA

I need to access the windows native file upload and save window using java. Though it is not possible only using java so I try this using jacob and JNA library. Actually I also need to handle the any type of pop up message from OS. There are lots of…
saba
  • 539
  • 1
  • 14
  • 30
1 2 3
13
14