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

htmlunit Active Load exception

public static void main(String[] args) throws FailingHttpStatusCodeException, MalformedURLException,IOException, InterruptedException { final ActiveXComponent activeXComponent = new…
0
votes
1 answer

Automatically Generate java wrapper classes from .Net DLL

I have .Net DLL, I need to interact with DLL from java . How to automatically generate java wrapper classes ? Is jni platform specific ? Is there any specific tool which will automatically generate java classes parsing .Net DLL. Thanks in advance.
0
votes
1 answer

java.lang.Exception: TestComplete/TestExecute not found

I want to invoke testcomplete's keyword tests from my java project using BDD styled testscripts. All the steps mentioned on this tutorial are followed. The execution fails with following stacktrace : java.lang.Exception: TestComplete/TestExecute…
Manmohan_singh
  • 1,776
  • 3
  • 20
  • 29
0
votes
0 answers

Open a java desktop application while saving a Microsoft word document using ActiveX control in java

I am trying to open a java Desktop application(call it MyApplication.jar file written in Swing). I can open this java application using VBA macros code. I want to open it saving the word document. means when user press save it should not allowed to…
iamabhaykmr
  • 1,803
  • 3
  • 24
  • 49
0
votes
1 answer

Can I set hwnd from Jacob?

I use CWnd::SetTimer(MFC ActiveX COM) but assertion comes out that there is no hwnd. Can I set hwnd from Jacob?This is the assertion code. Afxwin2.inl line 152. _AFXWIN_INLINE UINT_PTR CWnd::SetTimer(UINT_PTR nIDEvent, UINT nElapse, void…
K.Full
  • 11
  • 2
0
votes
1 answer

Get content of opened Word document with Jacob

Is there a way to get the path or the contents of the current opened document in Word (currenct active window of MicrosofWord) using Jacob? Or any other Java library that can do that? Thank you!
Laura
  • 1,552
  • 12
  • 12
0
votes
1 answer

setParameter for an array property with JACOB

I have the following VB code : Set QuoteRequest = Quotes.Add With QuoteRequest .No = 1 .QuoteCode(0)="101" .Code(0)="NAME1" .Code(1)="NAME2" End With I use JACOB to access that COM object.…
Adrian Muntean
  • 322
  • 2
  • 15
0
votes
1 answer

How to have a Java application invoke PowerPoint through JACOB when started as a service?

I have a Java web application which has to transcode PowerPoint slides to images. For that, this application connects through JACOB to PowerPoint. To have application working correctly, I deploy it as a service (using nssm). When doing so, it seems…
Riduidel
  • 22,052
  • 14
  • 85
  • 185
0
votes
0 answers

Printing multiple word documents corrupts every 2nd file

Im saving (generated) Word documents as file via jacob by printing them into a file (i have to do it like this because the file is required from legacy programms) The problem is if i do this for multiple files, every second file is not written…
griFlo
  • 2,084
  • 18
  • 28
0
votes
0 answers

Error on opening ExcelFile in a scheduled task

I've create a Jar file which have to throw a VBA Excel macro. To do so I've use the jacob API my code for the call is : final ActiveXComponent excel = new ActiveXComponent("Excel.Application"); try { final Dispatch workbooks =…
Alann
  • 647
  • 5
  • 19
0
votes
1 answer

Eclipse RCP - Open wordfile using JACOB - error "Failed to write core dump.Minidumps are not enabled by default on client versions of Windows"

Am quite new to Eclipse RCP Java and JACOB(java/COM bridge). I was trying to open a word file(already created "test.docx") from my RCP program. I have used jacob.jar(CLASSPATH) and jacob.ddl(PATH) for opening the file- I have followed the…
AJ007
  • 189
  • 3
  • 13
0
votes
1 answer

Problem with RMS and Websphere 6.1 32 bit

I'm facing a problem with Websphere and RMS, followings are what I have: Windows 2003, sp2, 64 bit, enterprise edition. Microsoft Office word 2003 sp3. The machine is connected to a domain, and I logged-in by a domain user (with email address). RMS…
Saeed
  • 926
  • 16
  • 28
0
votes
2 answers

getting Jacob to work with Java exe file

I've put together a program, and one of the methods uses Jacob. While I was working on the program in the compiler, I could only get the Jacob library to work if I put the jacob-1.18-x64.dll file in the same folder as the project that I was working…
Jcmoney1010
  • 912
  • 7
  • 18
  • 41
0
votes
0 answers

Running Personal macros with JACOB in Java

This question has been asked before Here but it never received any answers. If I save a macro to a specific (Non Personal Macro) workbook, then I am able to get the macro to run. I am unable to get a Personal Macro to work after opening up an Excel…
Jcmoney1010
  • 912
  • 7
  • 18
  • 41
0
votes
1 answer

Deploying/including .dll (JACOB) in maven dynamic web project (deployed on jetty)

I'm running a maven dynamic web project, which is deployed in jetty. In order to access COM-Objects, I want to use the Java COM Bridge (JACOB). JACOB comes with a .jar and a .dll. I added the .jar to the build path of the project but I don't know…