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

set MaxRecords with Java Jacob library

I'm trying to make use of Windows Search by using java Jacob library. but I'm having troubles to specify the maxRecords option to limit the number of rows get back. I'm trying to do it by using this line: Dispatch.put(connection, "MaxRecords", new…
Alvaro
  • 40,778
  • 30
  • 164
  • 336
1
vote
2 answers

Java Applet using jacob to load com dll method getting Errormessage : NoClassDefFoundError: com/jacob/activeX/ActiveXComponent

I need to create an Applet that can load a com method, for this purpose I used the java com bridge (jacob) deal with the com dll, and My Environment is set as follow: os:win7x64 IDE:Eclipse32bit-version COM DLL:BPIKeyCOM.dll 32-bit version com…
Lilly White
  • 175
  • 1
  • 3
  • 10
1
vote
0 answers

Jacob to drag and drop Outlook Emails to java Swing

I am using Jacob-1.18-M1 to Drag Drop the outlook emails on to a Java Applet. It works perfectly fine with Outlook 2003, but fails with Outlook 2010. I get the “Operation Failed” message. Any help is greatly appreciated.
Leela Addagulla
  • 181
  • 1
  • 1
  • 10
1
vote
0 answers

how to open default email client(like outlook,windows live message,lotus) by java with attachments?

Actually, I have tried Desktop.mail(URI uri) but this can't support for the attachment. Also I tried jacob which use ActiveXComponent to support. This looks nice in Outlook. ActiveXComponent oOutlook = …
Sstx
  • 604
  • 1
  • 8
  • 21
1
vote
1 answer

JACOB get HWND of window

I'm looking to get the native Window handle of a powerpoint window using Java / JACOB. The MSDN documentation seems to suggest it should be possible to just grab the "HWND" property, so I'm attempting that like so: app = new…
Michael Berry
  • 70,193
  • 21
  • 157
  • 216
1
vote
1 answer

simple program using jacob and excel

i want to learn jacob for doing tasks with excel. looking for any simple code using jacob and excel which runs without errors. i tried running the code in jacob help but i'm getting errors. to understand the basics i need a simple code. Can you…
silverkid
  • 9,291
  • 22
  • 66
  • 92
1
vote
1 answer

Excel can't read File written by Java process when running as Windows service

Not easy to summarize the problem in a single sentence ... I have an web app running on tomcat 7, with Java 6. The app accesses Excel sheets using JACOB, which uses JNI and COM, starting an separate Excel process. To ensure, the Excel sheet is…
Nordmeyer
  • 541
  • 5
  • 15
1
vote
1 answer

Jacob - Retrieve system restore information (Java)

My app is required to list all available restore points(Link) on a computer using java. The SystemRestore class is found in the default namespace not in CIMV2. When i tried the following code: public class TestWMI { public static void…
nasiroudin
  • 337
  • 3
  • 14
1
vote
1 answer

JACOB : cannot get Information property from MS Word

I am currently working with this great tool Jacob, but I get something very strange. Reading a MS Word file, I tokenize the document and, for each token I get, I would like to have also the page and line number. THE strange thing is that it works…
Rolintocour
  • 2,934
  • 4
  • 32
  • 63
1
vote
1 answer

Jacob (Java / COM / ActiveX) Throws ComFailException

I am using Jacob a Java-COM bridge and I have placed the required dll to -C:\WINDOWS\system32\jacob-1.14.3-x86.dll. I have also added the required jar file to - C:\Program Files\Java\jdk1.6.0_18\jre\lib\ext\jacob-1.14.3.jar. Until yesterday I was…
Mohsin
  • 852
  • 8
  • 28
1
vote
1 answer

j-interop does not work to monitor Win7 via WMI

I used j-interop to monitor Windows system via WMI in Java. It does work for monitoring remote WinXP from both Windows and Linux client. But it does not work to remotely monitor Windows7 from both Windows and Linux client. I also checked with…
Simon Wang
  • 2,235
  • 7
  • 36
  • 48
1
vote
1 answer

Java with JACOB - How to properly set Java Library Path

I'm challenging with a problem with library path and jacob. Ok, so let's go to the beginning. I'm writting an application which needs to use jacob library etc - this applications has to be run as JAR file and here is the whole goal. I'm loading the…
Mister S
  • 203
  • 1
  • 7
  • 14
1
vote
1 answer

Java with AutoIt and Jacob library

I'm trying to integrate AutoIt with Java using Eclipse. I have configured project and java build path properly - probable ;). The problem is that when I tried to run the project I've received and error presented below: Exception in thread "main"…
Mister S
  • 203
  • 1
  • 7
  • 14
1
vote
0 answers

Changing system time via jacob java-com bridge

I'm trying to use Jacob to change the system time. I wrote the following method: /******************************************************************************* * Sets the system time. * * @param par_sSystemTime…
1
vote
2 answers

Does maven have an ability to pack single *.dll to jar without any sources?

I'd like to add *.dlls as third party libs to my repository and during packaging process just pack them to *.jar, sign them and copy to some specific folder. Signing and coping are well done and work correctly (as expected by using…
rauch
  • 1,815
  • 7
  • 20
  • 31