How do I use a 32 Bit COM object from a 64 bit process?
I Use Jacob (JAVA COM Bridge) on a 64 Bit Machine and want to load COM Objects from a 32 bit DLL. How can I do that? ...
I Use Jacob (JAVA COM Bridge) on a 64 Bit Machine and want to load COM Objects from a 32 bit DLL. How can I do that? ...
I am trying to open a user/pass protected [Alfresco] webdav document from a Java applet, using Jacob and COM Automation. I pass "http://usu:pwd@srvs/docu.doc" to Documents.Open, but it seems to ignore the auth information. Is there another way to pass this information or somewhere else to authenticate beforehand? Notes: The document ...
I am trying to use the JACOB library with Clojure using Clojure Box. I have added this to my .emacs: (setq swank-clojure-library-paths (list "c:/dev/dlls")) C:/dev/dlls/ contains the jacob-1.14.3-x86.dll. I have added a .clojure dir to my ~/ dir and that contains the jacob.jar. At the Clojure Box REPL, (System/getProperty "java.cl...
I have an eclipse plugin, which connects to a COM component using Jacob. But after I close the plugin entirely, the .exe file stays hanging in Windows processes. I use ComThread.InitMTA(true) for initialization and make sure that SafeRelease() is called for every COM object I created before closing the app and I call ComThread.Release()...
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 provide me this sample code .thanks ...
I am using JACOB to access system information through WMI. I have not found much documentation for WMI and Jacob on the web and was wondering if I could get some help in making the code a little more efficient. Here is the code: String query = "SELECT * FROM Win32_PerfFormattedData_PerfOS_Processor WHERE Name='_Total'"; Variant vColle...
How can I use Jacob to create a graph in a MS Word document? ...
I maintain a legacy Java application that uses Jacob, or Java-COM Bridge, to make calls via the COM interfaces of MS VBA and MS Word. I have been looking at com4j from Sun, and it looks promising. The reason it looks good to me is that it uses vtable binding to methods, instead of IDispatch. Assuming all the COM objects we manipulate pr...
I am using Jacob jar file in my java application. This Jacob jar file comes with a .dll file. I have added Jacob jar file to my classpath. But when I execute my application a runtime error occurs as "couldn't load jacob-1.15-M3-x86.dll file" How can I load this .dll file? Edited:=====================================================...
Has anybody ever had issues with a Java application that uses Jacob to call WMI queries, with that application being deployed to JBoss? JBoss locks up around the WMI calls with no further information available. ...
I am working on a program using the JACOB project (JAva COm Bridge). There is a file to open, the entire name is passed along (ex. c:\test\test.xls). In order for JACOB to create a new ActiveXComponent it needs to be passed a ProgID or CLSID. (Such as Excel.Application, or Word.Application, but outside of the MS realm there is also A...
I'm using Jacob to create and add text to a MSWord document. I want to set the document title without saving the document. Is this possible? If so, what is the name of the property that I need to set to do this? (I tried wdPropertyTitle, which some MS VB tutorial used, but no beans.) ...
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 (running in IE) that successfully receives events from the same object. I'm considering the fo...
I use jacob last version and jacobgen. I put all need dll in c:\windows\system32 I generated wrapper about dll by jacobgen. But I got an exception. Google didn't help. :( com.jacob.com.ComFailException: Can't find moniker May be need registy dlls in windows registry? ...
I am writing a Java program that interacts with Microsoft Outlook using the Jacob library (bridges COM and Java). This program creates a new MailItem, displaying its Inspector window to the user. I wish to subscribe to the inspector's Close event to know when the user is finished editing their mail item. To subscribe to the event, I fol...
Hello, i'm trying to make a simple Java program to open an existing word-document, change something and save it as .html-file. The part which is not working is to save it as .html . The problem is, i got the html-file but it's only a renamed doc-file. So not really a .html-file which I can work with. This is what I found with Google: ...
Hi, 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 client installed. RMS is worked correctly when trying to apply it from Word it self....
I'm using JACOB to do COM calls to PowerPoint and other Office applications from Java. On a particular Windows 7 box I'm getting the following message quite often, but not always: Source: Microsoft Office PowerPoint 2007 Description: PowerPoint could not open the file. From excel I get: ERROR - Invoke of: Open Source: Microsoft Offic...
I'm using JACOB to call VB function from dll file the function on VB : VARIANT_BOOL GetGeneralLogDataStr([in] LONG dwMachineNumber, [out] LONG* dwEnrollNumber, [out] LONG* dwVerifyMode, [out] LONG* dwInOutMode, [out] BSTR *TimeStr); I try to call it with java : Dispatch dispatch = new Dispatch("zkemkeeper.ZKEM.1"); Long a = new Lon...