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

Java and Autoit can't send key like TAB, ENTER or something else?

I'm new to autoit and trying to integrate it with a java app. I can't make it send enter or tab or ctrl, it sends only plain text. The code is this: private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) { …
Tehnic
  • 29
  • 7
0
votes
0 answers

Java: Connecting to Quality Center using qcutils4j.jar

I have developed a runner module for my automation framework which will allow testers author and execute the tests using Eclipse IDE. Now I am looking to add a module to connect to QC and upload my tests to the respective test plan. For this I am…
Waman
  • 1,179
  • 7
  • 16
0
votes
1 answer

Java(Jacob) + Russian language

I've been writing a program on Java with library jacob, which help to work with wmi. and faced with such a problem, the team does not work in Cyrillic. String userName = Dispatch.get(dItem2, "Name").getString(); String objUser =…
AsmaRod
  • 101
  • 2
0
votes
1 answer

Wait while Mail is not sent/closed with jacob

My application sends Emails with jacob. Now I want to just open the Mail in some cases and wait for the user to press send (or he closes the mail) ActiveXComponent axcOutlook = new ActiveXComponent("Outlook.Application"); Dispatch mail =…
griFlo
  • 2,084
  • 18
  • 28
0
votes
1 answer

How to run an Excel personal VBA macro from Java with Jacob

This code runs a macro if it is in the Excel file. It no longer runs a personal macro knowing this macro works fine manually. private static void callExcelMacro(File file, String macroName) { ComThread.InitSTA(); final…
0
votes
1 answer

jacob convert doc error

I'm trying to convert doc(docx) files into htmls with newest jacob, jdk1.6, my laptop is windows 7 X64 professional with office 2007 installed. Here's my Java codes: public static void main(String[] args) { // TODO Auto-generated…
Joshua
  • 125
  • 2
  • 16
0
votes
1 answer

Reading calendar folder in a date range using JACOB

hi guys is it possible on JACOB on reading only CALENDAR folder with a date range and let me get the subject. If yes please give a sample code for reference. Thanks a lot
James
  • 1
  • 1
  • 2
0
votes
1 answer

Jacob: Call to VBA failed

I have a Excel VBA written and trying to call it from java (using Jacob) as below: public void PnlCubeExcelMacroCallAndRefresh() { ComThread.InitSTA(); File file=new File("C:\\Users\\Pnl_Cube_Template.xlsm"); // String macroName="Retrieve()"; …
Vinod
  • 376
  • 2
  • 11
  • 34
0
votes
0 answers

Java Jacob COM Bridge: cyclic dispatch.call(...) gets slower and slower on each call

I have a problem using the method: Dispatch.call(….). This Method is called cyclic (every second). The problem is that each call lasts longer. So after about 100 cycles the duration has doubled. Here are some details: I am using Jacob Com Bridge in…
Andreas
  • 1
  • 2
0
votes
2 answers

JACOB (Java/COM/ActiveX) - How to troubleshoot event handling?

I'm trying to use JACOB to interact with a COM object. I was able to invoke an initialization method on the object (and to get its properties), but am not getting any events back. The code is quoted below. I have a sample HTML+Javascript page…
Youval Bronicki
  • 1,922
  • 2
  • 18
  • 18
0
votes
1 answer

outlook unread mail folder integer value for jacob.jar in java

I am using JACOB. jar to access outlook . I am getting the count of my Inbox mails. how can I get the count of unread mail folder in outlook with JACOB. jar Dispatch.call((Dispatch) myNamespace,"GetDefaultFolder", new Integer(6)).toDispatch(); with…
Nidhin
  • 167
  • 1
  • 5
  • 26
0
votes
2 answers

Jacob Fatal Error

I am trying to build a Java Drag and Drop that works with Outlook emails. I've been using Jacob because of an inability to transfer data from Outlook to Java using standard AWT Event stuff. That said, all of the solutions I've pulled from here or…
MarkDacek
  • 174
  • 1
  • 10
0
votes
0 answers

how to read mail from outlook using JACOB.jar in java?

i am using JACOB.jar to access outlook . i am getting the count of my inbox mails and each email session id also . can anyone help me to find how to read each mails from outlook with jacob.jar package com.cicada.stratos.etc; import…
Nidhin
  • 167
  • 1
  • 5
  • 26
0
votes
2 answers

Excel Macro using Jacob

Is it possible to run a Excel macro using java, placed in a server which does not have Microsoft Excel installed?. I have written a code using Java and Jacob - Java Com Bridge, which works fine in machines which has Excel installed.
NewUser
  • 1
  • 2
0
votes
0 answers

ALMQC OTA accessing test versioned data

I am working with ALMQC 11.52 and using a versioned database. For a specific test I would like to access previous versions using the OTA API. Could anyone be kind enough to post some vb code to retrieve the test details field (TS_USER_15) from a…
bob
  • 1
  • 2