Aquileo | Activity for JACOB - Java COM Bridgehttps://sourceforge.net/p/jacob-project/activity/Recent activity for JACOB - Java COM BridgeenThu, 21 Aug 2025 19:31:08 -0000Aquileo | Bill Richards modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/3dd02dd180/?limit=25#e33aSomething must have been corrupted in my environment. I created a brand new project, copied all the java source files into it, added JACOB as a library, and the error disappeared. Belay that - the errors are still present. Do I even need that ComThread.InitMTA() statement?Bill RichardsThu, 21 Aug 2025 19:31:08 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/3dd02dd180/?limit=25#e33aAquileo | Bill Richards posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/3dd02dd180/?limit=25#e33aSomething must have been corrupted in my environment. I created a brand new project, copied all the java source files into it, added JACOB as a library, and the error disappeared.Bill RichardsThu, 21 Aug 2025 19:26:24 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/3dd02dd180/?limit=25#e33aAquileo | Bill Richards posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/3dd02dd180/?limit=25#c0a7I'm trying to develop a utility to interface with an ASCOM device using JACOB. But as soon as the program executes the ComThread.InitMTA() statement, this is displayed in the console window: WARNING: A restricted method in java.lang.System has been called WARNING: java.lang.System::load has been called by com.jacob.com.LibraryLoader in an unnamed module (file:/D:/Documents/Java%20Projects/jacob-1.21/jacob.jar) WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this...Bill RichardsTue, 19 Aug 2025 20:59:23 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/3dd02dd180/?limit=25#c0a7Aquileo | Sayed Hussainullah Sadat modified a comment on discussion Open Discussionhttps://sourceforge.net/p/jacob-project/discussion/375945/thread/2912281d1b/?limit=25#6211I have a desktop application developed in Java, I am creating an email with HTML body then saving it as "email.msg", and immediately open that email file in Outlook application using JACOB. Here is the code: //initiate the email private boolean sendEmailViaOutlook(Data data) { boolean emailSent; OutlookEmail jacobOutlook = new OutlookEmail(); ActiveXComponent axOutlook = new ActiveXComponent("Outlook.Application"); try { jacobOutlook.oOutlook = axOutlook.getObject(); Dispatch oNameSpace = axOutlook.getProperty("Session").toDispatch();...Sayed Hussainullah SadatWed, 15 May 2024 04:47:26 -0000https://sourceforge.net/p/jacob-project/discussion/375945/thread/2912281d1b/?limit=25#6211Aquileo | Sayed Hussainullah Sadat posted a comment on discussion Open Discussionhttps://sourceforge.net/p/jacob-project/discussion/375945/thread/2912281d1b/?limit=25#6211I have a desktop application developed in Java, I am creating an email with HTML body then saving it as "email.msg", and immediately open that email file in Outlook application using JACOB. Here is the code: private boolean sendEmailViaOutlook(Data data) { boolean emailSent; OutlookEmail jacobOutlook = new OutlookEmail(); ActiveXComponent axOutlook = new ActiveXComponent("Outlook.Application"); try { jacobOutlook.oOutlook = axOutlook.getObject(); Dispatch oNameSpace = axOutlook.getProperty("Session").toDispatch();...Sayed Hussainullah SadatWed, 15 May 2024 04:45:38 -0000https://sourceforge.net/p/jacob-project/discussion/375945/thread/2912281d1b/?limit=25#6211Aquileo | AJL Coenmans posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/0cd6913c90/?limit=25#a0f7I need to Dispatch this statement: oHyperlinks.invoke("Add",oSelectionRange,new Variant(emailaddress)); This is an hyperlink in an table-cellAJL CoenmansMon, 18 Dec 2023 13:25:06 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/0cd6913c90/?limit=25#a0f7Aquileo | 周亮平 posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/25fb25b5e4/?limit=25#6be5Please help me. Have a good life周亮平Thu, 03 Aug 2023 09:53:35 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/25fb25b5e4/?limit=25#6be5Aquileo | 周亮平 posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/25fb25b5e4/?limit=25#b4a5Attached is the effect drawing I generated周亮平Thu, 03 Aug 2023 09:51:42 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/25fb25b5e4/?limit=25#b4a5Aquileo | 周亮平 posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/25fb25b5e4/?limit=25#bb19I tried to add the title of the table in word, which has been successfully added, but the title is left aligned by default, I want to center align the title, how to operate. I tried a lot of things, but it didn't work. Somebody can help me. Here is my code to add a caption at the top of the table Dispatch table = Dispatch.call(tables, "Item", i).toDispatch(); // 获取第i个表格 Dispatch selection = Dispatch.get(table, "Range").toDispatch(); // 获取表格范围 Dispatch.call(selection, "Collapse", new Variant(0));...周亮平Thu, 03 Aug 2023 09:47:07 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/25fb25b5e4/?limit=25#bb19Aquileo | René Jahn posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/6b5ccbf0/?limit=25#ec91Long time ago, but still the same problem! The problem is not the last parameter: 2. It's the missing PrintRange parameter. The parameter is optional, but check this: https://sourceforge.net/p/pywin32/bugs/339/ (It defines "[in, optional, defaultvalue(0)] PrintRange* PrintRange" which leads to the generation of "PrintRange=0") Same problem for jacob. I had the same problem and solved it like this: Dispatch printOptions = Dispatch.get(presentation, "PrintOptions").toDispatch(); Dispatch ranges = Dispatch.get(printOptions,...René JahnWed, 31 May 2023 09:47:40 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/6b5ccbf0/?limit=25#ec91Aquileo | Dymytry posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/dbd0116029/?limit=25#b64fIts also interesting that memory is consumed by JVM, but not by Heap. Heap is stable. JVM's consumption is not.DymytryTue, 23 May 2023 20:24:21 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/dbd0116029/?limit=25#b64fAquileo | Dymytry posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/dbd0116029/?limit=25#6647I wonder if source of my problem can be the design when I call some COM method via Dispatch in the same thread which delivers events from DispatchEvents to me?DymytryFri, 19 May 2023 07:00:05 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/dbd0116029/?limit=25#6647Aquileo | Dymytry posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/dbd0116029/?limit=25#6bf4Its interesting to add, that Runtime.getRuntime().freeMemory() is not showing the memory leak. That memory is more or less stable. While JVM memory consumption I see in Windows / Task Manager is growing quite fast.DymytryWed, 17 May 2023 20:10:54 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/dbd0116029/?limit=25#6bf4Aquileo | Dymytry posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/dbd0116029/?limit=25#b900Hello everyone, please help me with a typical issue. I have tried several suggested solutions, but they fail. Setup: JVM 1.8, Jacob 20, x64 I have a code which is using DispatchEvents class. Many events come to my side from server, which is ActiveXComponent. Events are represented as Variants. Events a delivered to Callback class by many threads. The problem is that Variants are never cleaned up. I tried to use -Dcom.jacob.autogc=true - no effect ComThread.InitSTA and ComThread.Release - JVM dies...DymytryTue, 16 May 2023 19:06:24 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/dbd0116029/?limit=25#b900Aquileo | Mageddo posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/991feab7/?limit=25#9bd0/5609Sr, you're my heroMageddoTue, 07 Mar 2023 02:44:47 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/991feab7/?limit=25#9bd0/5609Aquileo | Alexandre Petrassi Cardoso modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/d777667ae3/?limit=25#5f3bI know its several months after your question, but try taking a look a this answer. https://stackoverflow.com/questions/65125191/exception-access-violation-in-jacob-dll-using-vm-in-jenkins-pipeline It's says that maybe you should try to downgrade your java build to 141 and see if it works.Alexandre Petrassi CardosoSat, 26 Mar 2022 00:49:26 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/d777667ae3/?limit=25#5f3bAquileo | Alexandre Petrassi Cardoso posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/d777667ae3/?limit=25#5f3bI know its several months after your question but, try taking a look a this answer. https://stackoverflow.com/questions/65125191/exception-access-violation-in-jacob-dll-using-vm-in-jenkins-pipeline It's says that maybe you should try to downgrade your java build to 141 and see if it works.Alexandre Petrassi CardosoSat, 26 Mar 2022 00:49:05 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/d777667ae3/?limit=25#5f3bAquileo | taruna garg posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/fd6bda87fb/?limit=25#cde3We are using jdk version 8.282.08.1 and jacob version 20. But after running the application we get below issue : 'release' '()V' in 'com/jacob/com/Dispatch' Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j com.jacob.com.Dispatch.release()V+0 j com.jacob.com.Dispatch.safeRelease()V+12 j com.jacob.com.Dispatch.finalize()V+1 J 6862% C2 java.lang.ref.Finalizer$FinalizerThread.run()V This issue comes on windows 2012 and 2012 R2 machine. Could you please suggest possible reason for sam...taruna gargTue, 10 Aug 2021 04:03:47 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/fd6bda87fb/?limit=25#cde3Aquileo | taruna garg posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/d777667ae3/?limit=25#2bd8We are using jdk version 8.282.08.1 and jacob version 20. But after running the application we get below issue : EXCEPTION_ACCESS_VIOLATION 'release' '()V' in 'com/jacob/com/Dispatch' Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j com.jacob.com.Dispatch.release()V+0 j com.jacob.com.Dispatch.safeRelease()V+12 j com.jacob.com.Dispatch.finalize()V+1 J 6862% C2 java.lang.ref.Finalizer$FinalizerThread.run()V This issue comes on windows 2012 and 2012 R2 machine only. It works fine on...taruna gargTue, 10 Aug 2021 03:43:51 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/d777667ae3/?limit=25#2bd8Aquileo | Stepan Shatalkin posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/490b58dc3d/?limit=25#0791We use Jacob in the multi-threaded mode. In the case when the network connection is unstable (hence, data loss can occur), we have the following problem: During operation, the program execution occasionally hangs in the Java_com_jacob_com_EnumVariant_release(), line: ULONG refs = self-> Release(). This "hung" state is always preceded by the occurrence of a ThrowComFail in the Java_com_jacob_com_EnumVariant_Next() method. To emulate a bad network connection, we used https://jagt.github.io/clumsy/....Stepan ShatalkinMon, 01 Mar 2021 11:38:56 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/490b58dc3d/?limit=25#0791Aquileo | Oliver Klassen posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/a6c3296786/?limit=25#c5c7I found out the reason. The thread (from thread pool of application server) that created the instance was removed from the thread pool. It seems that a COM instance has the context of the thread and lives as long as the thread, that created it.Oliver KlassenMon, 22 Feb 2021 08:15:42 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/a6c3296786/?limit=25#c5c7Aquileo | Oliver Klassen posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/a6c3296786/?limit=25#0229We are using JACOB in a web application (JSF, JPA, Wildfly Application Server, OpenJDK) to interact with another c/c++ application. Our problem is that after 1-2 minutes of inactivity the instance of the C++-COM-Dll is cleaned up and the destructor is called. This behaviour is reproducable not every time, but quite often. After the instance was cleaned up, a call of invokeev (Dispatch.cpp) ends up in an "Can't map name to dispid" error. The finalize() or safeRelease() method of the ActiveXComponent-instance...Oliver KlassenWed, 17 Feb 2021 18:16:59 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/a6c3296786/?limit=25#0229Aquileo | Alexandr Myagkov posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/0f1a2db2/?limit=25#30bbActiveXComponent excel = new ActiveXComponent("Excel.Application"); Dispatch workbooks = excel.getProperty("Workbooks").toDispatch(); Dispatch workBook = Dispatch.call(workbooks, "Open", file.getAbsolutePath()).toDispatch(); Dispatch sheets = Dispatch.get(workBook, "Worksheets").toDispatch(); Dispatch workSheet = Dispatch.call(sheets, "Item", 1).toDispatch(); Dispatch cell = Dispatch.call(workSheet, "Cells", 1).toDispatch(); Object takingValue = Dispatch.get(cell, "Value") Dispatch.put(cell, "Value",...Alexandr MyagkovFri, 29 Jan 2021 07:49:31 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/0f1a2db2/?limit=25#30bbAquileo | Nitin Soni posted a comment on discussion Open Discussionhttps://sourceforge.net/p/jacob-project/discussion/375945/thread/e205f5f0bb/?limit=25#33ddI myself was able to find it. Dispatch.put(oMailItem, "UnRead", "false");Nitin SoniSat, 02 Jan 2021 15:42:00 -0000https://sourceforge.net/p/jacob-project/discussion/375945/thread/e205f5f0bb/?limit=25#33ddAquileo | Nitin Soni posted a comment on discussion Open Discussionhttps://sourceforge.net/p/jacob-project/discussion/375945/thread/e205f5f0bb/?limit=25#2b86Could you show me sample code of making email as 'Read'. I am saving email after sending it successfully in Sent Items folder but it is saving as Unread. I want to mark it as Read. Please let me know the possible code.Nitin SoniSat, 02 Jan 2021 15:06:28 -0000https://sourceforge.net/p/jacob-project/discussion/375945/thread/e205f5f0bb/?limit=25#2b86Aquileo | Jan Boettcher posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/a832dbf6fe/?limit=25#8d0cjacob 1.18 (tried 1.20 too). A call of this method: [id(0x60020003)] HRESULT GetFacesAt( [in] BSTR point, [in] ICoordinateSystem coordinateSystem, [out, retval] SAFEARRAY(ISimObject)* pRetVal); should return an array of dispatches. But evaluating the returned result throws an jacob exception "java.lang.IllegalStateException: "getDispatch() only legal on Variants of type VariantDispatch, not -19488". Obviously the variants do not contain dispatches. The type of the variant returned from the method...Jan BoettcherMon, 26 Oct 2020 18:52:41 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/a832dbf6fe/?limit=25#8d0cAquileo | Bhaskar Vegesna modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/78b6961c9a/?limit=25#7e83Please ignore the issue. I figured out myself. I was missing a api call.Bhaskar VegesnaWed, 14 Oct 2020 07:58:09 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/78b6961c9a/?limit=25#7e83Aquileo | Bhaskar Vegesna modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/78b6961c9a/?limit=25#7e83Hello, I am using jacob to access ALM OTA to upload external results file . Script is failing on line - Dispatch.call(attachFactory,"FileName",new Variant(Report)).toDispatch(); Error - Exception in thread "main" com.jacob.com.ComFailException: Can't map name to dispid: FileName I would appreciate if someone can help me with this issue? Implementation Code in VBScript set tdc = createobject("TDApiOle80.TDConnection") tdc.InitConnectionEx "http://xxxx:8080/qcbin" tdc.Login "xxxxxx","xxxxxxxxx" tdc.Connect...Bhaskar VegesnaWed, 14 Oct 2020 05:55:51 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/78b6961c9a/?limit=25#7e83Aquileo | Bhaskar Vegesna posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/78b6961c9a/?limit=25#7e83Hello, I am using jacob to access ALM OTA to upload external results file . Script is failing on line 111. Please look at code after this line - * /// Script is failing on this step. Here i have to set to FileName with path to the file /// - Please look for this line Implementation Code in VBScript set tdc = createobject("TDApiOle80.TDConnection") tdc.InitConnectionEx "http://xxxx:8080/qcbin" tdc.Login "xxxxxx","xxxxxxxxx" tdc.Connect "xxxx","xxxxxx" If tdc.Connected = true Then print "Connect successful!!!"...Bhaskar VegesnaWed, 14 Oct 2020 05:52:28 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/78b6961c9a/?limit=25#7e83Aquileo | clay_shooter posted a comment on merge request #1https://sourceforge.net/p/jacob-project/code/merge-requests/1/?limit=25#e802/c940/fd3aYour change has been merged and is available in version 1.20 no avaialble on GitHubclay_shooterFri, 02 Oct 2020 10:02:49 -0000https://sourceforge.net/p/jacob-project/code/merge-requests/1/?limit=25#e802/c940/fd3aAquileo | Alexey Kachalov posted a comment on merge request #1https://sourceforge.net/p/jacob-project/code/merge-requests/1/?limit=25#e802/c940I use JACOB to connect to OPC library (OPCDAAuto.dll) and it has methods with timestamp array functionality.Alexey KachalovFri, 02 Oct 2020 06:18:13 -0000https://sourceforge.net/p/jacob-project/code/merge-requests/1/?limit=25#e802/c940Aquileo | clay_shooter modified a comment on discussion Open Discussionhttps://sourceforge.net/p/jacob-project/discussion/375945/thread/54f23b01a3/?limit=25#8e12Source code and Binares have moved to https://github.com/freemansoft/jacob-project Releases are available https://github.com/freemansoft/jacob-project/releases Bug reports, Enhancement Requests and Patches topic messages have been purged from Sourceforgeclay_shooterFri, 25 Sep 2020 10:29:33 -0000https://sourceforge.net/p/jacob-project/discussion/375945/thread/54f23b01a3/?limit=25#8e12Aquileo | clay_shooter modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/b82d435b79/?limit=25#caf7Source code and Binares have moved to https://github.com/freemansoft/jacob-project Releases are available https://github.com/freemansoft/jacob-project/releases Bug reports, Enhancement Requests and Patches topic messages have been purged from Sourceforgeclay_shooterFri, 25 Sep 2020 10:29:14 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/b82d435b79/?limit=25#caf7Aquileo | clay_shooter modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/b82d435b79/?limit=25#caf7Source code and Binares have moved to https://github.com/freemansoft/jacob-project Bug reports, Enhancement Requests and Patches topic messages have been purged from Sourceforgeclay_shooterFri, 25 Sep 2020 10:04:59 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/b82d435b79/?limit=25#caf7Aquileo | clay_shooter modified a comment on discussion Open Discussionhttps://sourceforge.net/p/jacob-project/discussion/375945/thread/54f23b01a3/?limit=25#8e12Source code and Binares have moved to https://github.com/freemansoft/jacob-project Bug reports, Enhancement Requests and Patches topic messages have been purged from Sourceforgeclay_shooterFri, 25 Sep 2020 10:04:48 -0000https://sourceforge.net/p/jacob-project/discussion/375945/thread/54f23b01a3/?limit=25#8e12Aquileo | clay_shooter posted a comment on discussion Open Discussionhttps://sourceforge.net/p/jacob-project/discussion/375945/thread/54f23b01a3/?limit=25#8e12Source code and Binares have moved to https://github.com/freemansoft/jacob-projectclay_shooterFri, 25 Sep 2020 10:03:35 -0000https://sourceforge.net/p/jacob-project/discussion/375945/thread/54f23b01a3/?limit=25#8e12Aquileo | clay_shooter posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/b82d435b79/?limit=25#caf7Source code and Binares have moved to https://github.com/freemansoft/jacob-projectclay_shooterFri, 25 Sep 2020 10:03:30 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/b82d435b79/?limit=25#caf7Aquileo | Joe Freeman committed [a8cee3]https://sourceforge.net/p/jacob-project/code/ci/a8cee331c2d145b75ecd0ac14c91f6ccd9c4fdf4/all binaries are goneJoe FreemanFri, 25 Sep 2020 10:01:28 -0000https://sourceforge.net/p/jacob-project/code/ci/a8cee331c2d145b75ecd0ac14c91f6ccd9c4fdf4/Aquileo | clay_shooter modified a blog posthttps://sourceforge.net/p/jacob-project/news/2020/09/the-source-repository-has-moved-to-github/The source repository has moved to GitHubclay_shooterFri, 25 Sep 2020 10:00:03 -0000https://sourceforge.net/p/jacob-project/news/2020/09/the-source-repository-has-moved-to-github/Aquileo | Joe Freeman committed [38bcea]https://sourceforge.net/p/jacob-project/code/ci/38bcea2d0d3fa8a9f50ed62eb9a55bea40b4c5f8/leaving behind only README.mdJoe FreemanFri, 25 Sep 2020 03:46:49 -0000https://sourceforge.net/p/jacob-project/code/ci/38bcea2d0d3fa8a9f50ed62eb9a55bea40b4c5f8/Aquileo | JACOB - Java COM Bridge updated /README.mdhttps://sourceforge.nethttps%3A//sourceforge.net/projects/jacob-project/files/README.md/downloadJACOB - Java COM BridgeFri, 25 Sep 2020 03:29:01 -0000https://sourceforge.net/projects/jacob-project/files/README.md/downloadAquileo | JACOB - Java COM Bridge released /README.mdhttps://sourceforge.nethttps%3A//sourceforge.net/projects/jacob-project/files/README.md/downloadJACOB - Java COM BridgeFri, 25 Sep 2020 03:26:01 -0000https://sourceforge.net/projects/jacob-project/files/README.md/downloadAquileo | Joe Freeman committed [702cae]https://sourceforge.net/p/jacob-project/code/ci/702caeb862c270565893e7ca4c954cf4b97d92c2/removing source from sourceforgeJoe FreemanFri, 25 Sep 2020 02:42:29 -0000https://sourceforge.net/p/jacob-project/code/ci/702caeb862c270565893e7ca4c954cf4b97d92c2/Aquileo | clay_shooter created a blog posthttps://sourceforge.net/p/jacob-project/news/2020/09/the-source-repository-has-moved-to-github/The source repository has moved to GitHubclay_shooterFri, 25 Sep 2020 02:28:25 -0000https://sourceforge.net/p/jacob-project/news/2020/09/the-source-repository-has-moved-to-github/Aquileo | Joe Freeman committed [bc0027]https://sourceforge.net/p/jacob-project/code/ci/bc0027b67a3c816395951bf42bb4db24151f8a14/moved jacob to the topJoe FreemanFri, 25 Sep 2020 02:24:00 -0000https://sourceforge.net/p/jacob-project/code/ci/bc0027b67a3c816395951bf42bb4db24151f8a14/Aquileo | Joe Freeman committed [00d863]https://sourceforge.net/p/jacob-project/code/ci/00d863c717b36a0beb05761c37a35a592fff9825/removing jacobgenJoe FreemanFri, 25 Sep 2020 02:18:49 -0000https://sourceforge.net/p/jacob-project/code/ci/00d863c717b36a0beb05761c37a35a592fff9825/Aquileo | Joe Freeman committed [a4fe00]https://sourceforge.net/p/jacob-project/code/ci/a4fe004fcde1593b09de1e18108eaba74699ec79/MR1 updated docks for SF Merge Request 1Joe FreemanFri, 25 Sep 2020 01:27:22 -0000https://sourceforge.net/p/jacob-project/code/ci/a4fe004fcde1593b09de1e18108eaba74699ec79/Aquileo | clay_shooter merged merge request #1https://sourceforge.net/p/jacob-project/code/merge-requests/1/Support VT_DATE getting from SafeArrayclay_shooterFri, 25 Sep 2020 01:24:32 -0000https://sourceforge.net/p/jacob-project/code/merge-requests/1/Aquileo | clay_shooter committed [57d24f]https://sourceforge.net/p/jacob-project/code/ci/57d24f5b5e7b03ef87ef5270a1893d03afe6a922/Merge /u/alexeykachalov/jacob-project/ branch master into masterclay_shooterFri, 25 Sep 2020 01:24:32 -0000https://sourceforge.net/p/jacob-project/code/ci/57d24f5b5e7b03ef87ef5270a1893d03afe6a922/Aquileo | Joe Freeman committed [656547]https://sourceforge.net/p/jacob-project/code/ci/656547c801245a21f949bcc86489eb37a9e6bef4/Feature Request 48 - Update build to Visual Studio 2019 and Win 10 kitJoe FreemanFri, 25 Sep 2020 01:21:37 -0000https://sourceforge.net/p/jacob-project/code/ci/656547c801245a21f949bcc86489eb37a9e6bef4/Aquileo | Joe Freeman committed [05a0f3]https://sourceforge.net/p/jacob-project/code/ci/05a0f321f17de56a6d9800f89ee6185c2272f74b/convert docs from html to mdJoe FreemanThu, 24 Sep 2020 03:37:02 -0000https://sourceforge.net/p/jacob-project/code/ci/05a0f321f17de56a6d9800f89ee6185c2272f74b/Aquileo | clay_shooter posted a comment on merge request #1https://sourceforge.net/p/jacob-project/code/merge-requests/1/?limit=25#e802My kingdom for a test case!clay_shooterThu, 24 Sep 2020 02:55:14 -0000https://sourceforge.net/p/jacob-project/code/merge-requests/1/?limit=25#e802Aquileo | Don Quijote de la Mancha modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/76fa82ec73/?limit=25#02c3Hi, I would like to create and send mail with outlook Application which body contains all the content of a Word document with the format - copy and paste. I can create, send a mail and copy each paragraph of the document Word but the text is pasted without format. I would like to copy the content as it appears in the Word document. thank's for your help cpfDon Quijote de la ManchaFri, 26 Jun 2020 06:55:51 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/76fa82ec73/?limit=25#02c3Aquileo | Don Quijote de la Mancha modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/76fa82ec73/?limit=25#02c3Hi, I would like to create and send mail with outlook Application which body is all the content of document with the format - copy and paste. I can create, send a mail and copy each paragraph of the document Word but the text is pasted without format. I would like to copy the content as it appears in the Word document. thank's for your help cpfDon Quijote de la ManchaFri, 26 Jun 2020 06:54:19 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/76fa82ec73/?limit=25#02c3Aquileo | Don Quijote de la Mancha posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/76fa82ec73/?limit=25#02c3Hi, I will to create and send mail with outlook Application witch body is all the content of document with the format - copy and paste. I can create, send a mail and copy each paragraph of the document Word but the text is pasted without format. I would like to copy the content as it appears in the Word document. thank's for your help cpfDon Quijote de la ManchaWed, 24 Jun 2020 13:42:11 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/76fa82ec73/?limit=25#02c3Aquileo | Damazy Kowalski posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/9064eecc8e/?limit=25#9dffHello, I made Intelij maven project, I used Jacob library in it. When I run project from Intelij, everything works fine, but when I build jar file, and try to run it from windows explorer, nothing happens. Please help. I use jacob 1.19 and java 11.Damazy KowalskiSun, 22 Mar 2020 13:43:43 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/9064eecc8e/?limit=25#9dffAquileo | Jon B posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/918ecd2430/?limit=25#9768Hi, 1) I've been trying to read the documentation to figure out what JACOB actually does and I have no idea. What does JACOB do? 2) It seems like it automates java programs using activex as an interface. This can be used for testing and automation. When I went into the documentation it presented an activex component which takes a dispatch object or a program id. Where do I get the program ID from? I also dont really understand how the dispatch object works.Jon BWed, 04 Dec 2019 21:54:36 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/918ecd2430/?limit=25#9768Aquileo | JAYENDRAN SUBRAMANIAN modified a comment on discussion Open Discussionhttps://sourceforge.net/p/jacob-project/discussion/375945/thread/d4b34ceed4/?limit=25#cd45One of our legacy application using Jacozoom for long while but recently facing issues only on Windows10 machines. So we need to know, how feasible to migrate JACOB and is it support Windows10?JAYENDRAN SUBRAMANIANThu, 17 Oct 2019 10:55:34 -0000https://sourceforge.net/p/jacob-project/discussion/375945/thread/d4b34ceed4/?limit=25#cd45Aquileo | JAYENDRAN SUBRAMANIAN modified a comment on discussion Open Discussionhttps://sourceforge.net/p/jacob-project/discussion/375945/thread/d4b34ceed4/?limit=25#cd45One of our legacy application using Jacozoom for long while but recently facing some issues only on Windows10 machines. So we need to know, how feasible to migrate JACOB and is it support Windows10?JAYENDRAN SUBRAMANIANThu, 17 Oct 2019 10:16:32 -0000https://sourceforge.net/p/jacob-project/discussion/375945/thread/d4b34ceed4/?limit=25#cd45Aquileo | JAYENDRAN SUBRAMANIAN posted a comment on discussion Open Discussionhttps://sourceforge.net/p/jacob-project/discussion/375945/thread/d4b34ceed4/?limit=25#cd45One of our legacy application using Jacozoom for long while but recently facing some issues only on Windows10 machines. So we need to know, how feasible to migrate to JACOB and is it support Windows10?JAYENDRAN SUBRAMANIANThu, 17 Oct 2019 09:07:42 -0000https://sourceforge.net/p/jacob-project/discussion/375945/thread/d4b34ceed4/?limit=25#cd45Aquileo | Praveen Babu posted a comment on discussion Open Discussionhttps://sourceforge.net/p/jacob-project/discussion/375945/thread/fd8226dab1/?limit=25#3b51Hi, I want to use Jacob java api but I’m using MAC for development. Could you share installation process ? Regards, PraveenbabuPraveen BabuTue, 15 Oct 2019 04:33:53 -0000https://sourceforge.net/p/jacob-project/discussion/375945/thread/fd8226dab1/?limit=25#3b51Aquileo | Aliona Shabanova modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/f2ea362249/?limit=25#b1adI need to display a COM component derived from IE Browser Control in JFrame. Is there any way to do it with JACOB?Aliona ShabanovaFri, 20 Sep 2019 19:04:53 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/f2ea362249/?limit=25#b1adAquileo | Aliona Shabanova posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/f2ea362249/?limit=25#b1adI need to display a COM component derived from IE Browser Control in JFrame. Is there a way to do it with JACOB?Aliona ShabanovaFri, 20 Sep 2019 18:59:40 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/f2ea362249/?limit=25#b1adAquileo | Uri Naor posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/709aa6e5/?limit=25#be45Your thread got me quite far but im stuck here aswell not even sure if someone uses this technology yetUri NaorTue, 03 Sep 2019 17:08:32 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/709aa6e5/?limit=25#be45Aquileo | Uri Naor posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/995ff74501/?limit=25#23e9Im trying to read windows registry key using Jacob i was able to advance nicely reading the services and processes but with registry im stuck im using the reference of StdRegValue class from here: here and i have the following lines int HKEY_LOCAL_MACHINE = 0x80000002; String strKeyPath = "SYSTEM\\CurrentControlSet\\Services"; String [] sNames = new String [5]; ActiveXComponent wmi = new ActiveXComponent("WbemScripting.SWbemLocator"); // no connection parameters means to connect to the local machine...Uri NaorTue, 03 Sep 2019 17:04:25 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/995ff74501/?limit=25#23e9Aquileo | EJP modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/24d0372618/?limit=25#c7faPresently this is not overridden at all from java.lang.Throwable. It would help debugging a lot if it could be overridden such that if the hResult attribute is non-zero it is displayed in hex, so that we can see immediately whether it is E_INVALIDARG etc. as per https://docs.microsoft.com/en-us/windows/win32/seccrypto/common-hresult-values. Some link to this page in the Javadoc would be even nicer. This also applies to getMessage() of course, or maybe only to getMessage(), depending on how Throwable.toString()...EJPSat, 13 Jul 2019 03:55:07 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/24d0372618/?limit=25#c7faAquileo | EJP posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/24d0372618/?limit=25#c7faPresently this is not overridden at all from java.lang.Throwable. It would help debugging a lot if it could be overridden such that if the hResult attribute is non-zero it is displayed in hex, so that we can see immediately whether it is E_INVALIDARG etc. as per https://docs.microsoft.com/en-us/windows/win32/seccrypto/common-hresult-values. Some link to this page in the Javadoc would be even nicer.EJPFri, 12 Jul 2019 08:18:14 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/24d0372618/?limit=25#c7faAquileo | Dean Joly posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/db958f4d08/?limit=25#e3afIs there a way to set the "jacob.dll.path" property before the applet starts?Dean JolyFri, 14 Jun 2019 16:22:56 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/db958f4d08/?limit=25#e3afAquileo | Dean Joly posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/db958f4d08/?limit=25#74ccIBM has this to say about the issue: http://www-01.ibm.com/support/docview.wss?crawler=1&uid=swg1PO06134Dean JolyTue, 04 Jun 2019 14:10:54 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/db958f4d08/?limit=25#74ccAquileo | Dean Joly posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/db958f4d08/?limit=25#7958We use a provincial government application that is based on IBM Curam. It uses the Jacob library to send documents to Word. The application was recently updated. Since the upgrade a jabob folder gets created on our user's desktops whenever they edit a letter. Is there a way to stop this from happening? Thanks.Dean JolyTue, 04 Jun 2019 13:51:07 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/db958f4d08/?limit=25#7958Aquileo | bdsm_test posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/9e5aad5355/?limit=25#be28I need send email from non default outlook account and trying to set up SendUsingAccount property for this purpose. But code no take effect. Always default acc used here my code: import com.jacob.activeX.ActiveXComponent; import com.jacob.com.Variant; public class OutlookMail { private ActiveXComponent axOutlook; private ActiveXComponent axNamespace; private ActiveXComponent axAccounts; private ActiveXComponent axAccount; private int email; public OutlookMail() { email = 0; axOutlook = new ActiveXComponent("Outlook.Application");...bdsm_testWed, 10 Apr 2019 12:50:29 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/9e5aad5355/?limit=25#be28Aquileo | Zaid Sultan posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/9bd92ac6c4/?limit=25#98b0Hello, We are using JACOB as part of BCL easyPDF service package, Recently we noticed a very weird case where the Java thread is stuck forever on a JACOB method. The only work around we have now is to restart the BCL windows service. I am attaching Java thread dump and used JACOB files, Do you have any suggestions? Thread dump: "RMI TCP Connection(5274)-10.50.1.156" - Thread t@118559 java.lang.Thread.State: RUNNABLE * at com.jacob.com.Dispatch.invokev(Native Method)* at com.jacob.com.Dispatch.invokeSubv(Dispatch.java:344)...Zaid SultanWed, 13 Mar 2019 20:42:33 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/9bd92ac6c4/?limit=25#98b0Aquileo | Bhagyesh Patel posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/02891693ef/?limit=25#2993Hi, I have a macro in which there is a function which returns a value. I want to access that value in java code. Can anyone please help me doing this?Bhagyesh PatelTue, 19 Feb 2019 17:43:35 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/02891693ef/?limit=25#2993Aquileo | Himanshu Arora modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/5969098a9f/?limit=25#916fmoved to another thread https://sourceforge.net/p/jacob-project/discussion/375946/thread/b6b001753f/Himanshu AroraSun, 11 Nov 2018 04:40:53 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/5969098a9f/?limit=25#916fAquileo | Himanshu Arora posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/b6b001753f/?limit=25#c442I have a system that has Windows COM interface so that external applications can connect to it and it has following details Interface: InterfaceName Flags: (1234) Dual OleAutomation Dispatchable GUID: {ABCDEFG-ABCD-1234-ABCD-ABCDE1234} I'd like to connect to this interface through Java Spring Application, it will sends a request to this interface and process the response. I've tried to use the following code ActiveXComponent mf = new ActiveXComponent("ApplicationName.InterfaceName"); try { Dispatch...Himanshu AroraSun, 11 Nov 2018 03:59:50 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/b6b001753f/?limit=25#c442Aquileo | Himanshu Arora posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/5969098a9f/?limit=25#916fI have a system that has Windows COM interface so that external applications can connect to it and it has following details Interface: InterfaceName Flags: (1234) Dual OleAutomation Dispatchable GUID: {ABCDEFG-ABCD-1234-ABCD-ABCDE1234} I'd like to connect to this interface through Java Spring Application, it will sends a request to this interface and process the response. I've tried to use the following code ActiveXComponent mf = new ActiveXComponent("ApplicationName.InterfaceName"); try { Dispatch...Himanshu AroraSun, 11 Nov 2018 03:59:44 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/5969098a9f/?limit=25#916fAquileo | Alexey Kachalov created merge request #1https://sourceforge.net/p/jacob-project/code/merge-requests/1/Support VT_DATE getting from SafeArrayAlexey KachalovThu, 01 Nov 2018 12:39:04 -0000https://sourceforge.net/p/jacob-project/code/merge-requests/1/Aquileo | Asish Samanta posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/3617267e0e/?limit=25#a1deI am using JDK 1.7 64 bit and JCOB dll 64 bit version 1.17. Both are 64 bit and using Windows Server 12 R2. And web server tomcat apache-tomcat-7.0.47 Sometime it is working, some not working. Got the following error. com.jacob.com.ComFailException: Can't co-create object at com.jacob.com.Dispatch.createInstanceNative(Native Method) ~[jacob-1.17.jar:na] at com.jacob.com.Dispatch.(Dispatch.java:99) ~[jacob-1.17.jar:na] at com.jacob.activeX.ActiveXComponent.(ActiveXComponent.java:58) ~[jacob-1.17.jar:na]...Asish SamantaThu, 27 Sep 2018 03:51:36 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/3617267e0e/?limit=25#a1deAquileo | Raj modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/7cbb53bf/?limit=25#f2faIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII have a Java application running on Tomcat which needs to generate an email to Outlook on the connecting client's computer. Currently my code is always directing the email to Outlook on the server where tomcat is running and not to the connecting client. I have attached the code that I am using to connect to Outlook below. Any help to achieve this will be appreciated. Stack Overflow sign up log in Questions Jobs Tags Users Badges...RajSat, 25 Aug 2018 02:36:38 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/7cbb53bf/?limit=25#f2faAquileo | Raj modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/7cbb53bf/?limit=25#f2faIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII have a Java application running on Tomcat which needs to generate an email to Outlook on the connecting client's computer. Currently my code is always directing the email to Outlook on the server where tomcat is running and not to the connecting client. I have attached the code that I am using to connect to Outlook below. Any help to achieve this will be appreciated. Stack Overflow sign up log in Questions Jobs Tags Users Badges Ask...RajSat, 25 Aug 2018 02:34:15 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/7cbb53bf/?limit=25#f2faAquileo | Raj posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/7cbb53bf/?limit=25#f2faI have a Java application running on Tomcat which needs to generate an email to Outlook on the connecting client's computer. Currently my code is always directing the email to Outlook on the server where tomcat is running and not to the connecting client. I have attached the code that I am using to connect to Outlook below. Any help to achieve this will be appreciated.RajSat, 25 Aug 2018 02:32:41 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/7cbb53bf/?limit=25#f2faAquileo | srinivasu mutyalu modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/7cbb53bf/?limit=25#9f00srinivasu mutyaluTue, 07 Aug 2018 12:20:37 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/7cbb53bf/?limit=25#9f00Aquileo | srinivasu mutyalu modified a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/7cbb53bf/?limit=25#2fc4srinivasu mutyaluTue, 07 Aug 2018 12:20:19 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/7cbb53bf/?limit=25#2fc4Aquileo | srinivasu mutyalu posted a comment on discussion Helphttps://sourceforge.net/p/jacob-project/discussion/375946/thread/7cbb53bf/?limit=25#2fc4could you also share the excel sheet with subrutine DoItsrinivasu mutyaluTue, 07 Aug 2018 12:14:02 -0000https://sourceforge.net/p/jacob-project/discussion/375946/thread/7cbb53bf/?limit=25#2fc4