<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Knowledge Base: J-Integra : J-Integra for COM : HOWTO</title><description>Knowledge Base: J-Integra : J-Integra for COM : HOWTO RSS 2.0 Feed</description><link>http://j-integra.intrinsyc.com/support/kb/</link><webMaster>j-integra_support@intrinsyc.com</webMaster><lastBuildDate>Sat, 18 Apr 2026 14:01:37 GMT</lastBuildDate><ttl>20</ttl><generator>Knowledge Base: J-Integra</generator><item><title>Workaround for DCOM on Windows 10 1809+</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183260</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"&gt;&lt;html&gt;  &lt;head&gt;  &lt;meta http-equiv="content-type" content="text/html; charset=windows-1252"&gt;  &lt;!-- marked for deletion --&gt;  &lt;link rel="stylesheet" href="default_ns.css"&gt;    &lt;!-- Latest compiled and minified CSS --&gt;  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"           integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"            crossorigin="anonymous"&gt;  &lt;!-- Optional theme --&gt;  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css"            integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp"            crossorigin="anonymous"&gt;    &lt;script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"&gt;&lt;/script&gt;    &lt;!-- Latest compiled and minified JavaScript --&gt;  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"               integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"               crossorigin="anonymous"&gt;  &lt;/script&gt;  &lt;script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"&gt;    function reDo()    {      if (innerWidth != origWidth || innerHeight != origHeight)        location.reload();    }    if ((parseInt(navigator.appVersion) == 4) &amp;&amp; (navigator.appName == "Netscape"))    {      origWidth = innerWidth;      origHeight = innerHeight;      onresize = reDo;    }    onerror = null;   &lt;/script&gt;&lt;/head&gt;&lt;body&gt;  &lt;!--Title --&gt;  &lt;Title&gt;Workaround for DCOM on Windows 10 1809+&lt;/Title&gt;  &lt;div class="row"&gt;    &lt;div class="col-sm-1"&gt;    &lt;/div&gt;    &lt;div class="col-sm-8"&gt;      &lt;h1&gt;&lt;a&gt;Workaround for DCOM on Windows 10 1809+&lt;/a&gt;&lt;/h1&gt;    &lt;/div&gt;    &lt;div class="col-sm-3"&gt;      &lt;a href="/products/com/" target="_blank" alt="Java/J2EE COM Interoperabilit</description><pubDate>Wed, 12 Aug 2020 09:04:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>J-Integra COM for Excel 2016 and Windows 10</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183259</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"&gt;&lt;html&gt;  &lt;head&gt;  &lt;meta http-equiv="content-type" content="text/html; charset=windows-1252"&gt;  &lt;!-- marked for deletion --&gt;  &lt;link rel="stylesheet" href="default_ns.css"&gt;    &lt;!-- Latest compiled and minified CSS --&gt;  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"           integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"            crossorigin="anonymous"&gt;  &lt;!-- Optional theme --&gt;  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css"            integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp"            crossorigin="anonymous"&gt;    &lt;script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"&gt;&lt;/script&gt;    &lt;!-- Latest compiled and minified JavaScript --&gt;  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"               integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"               crossorigin="anonymous"&gt;  &lt;/script&gt;  &lt;script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"&gt;    function reDo()    {      if (innerWidth != origWidth || innerHeight != origHeight)        location.reload();    }    if ((parseInt(navigator.appVersion) == 4) &amp;&amp; (navigator.appName == "Netscape"))    {      origWidth = innerWidth;      origHeight = innerHeight;      onresize = reDo;    }    onerror = null;   &lt;/script&gt;&lt;/head&gt;&lt;body&gt;  &lt;script type="text/javascript" language="javascript1.2"&gt;    if (window.gbWhTopic){      if (window.addTocInfo){        addTocInfo("Examples&lt;br&gt;Java Accessing COM&lt;br&gt;Java to Excel");         addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");      }      if (window.writeBtnStyle){        writeBtnStyle();      }      if (windo</description><pubDate>Thu, 19 Jan 2017 14:42:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Using J-Integra to Access Real-Time Data from Bloomberg®</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183197</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;body&gt;&lt;H1&gt;Using J-Integra to Get Real-Time Data from Bloomberg&amp;reg;&lt;/H1&gt;&lt;P&gt;The following example demonstrates how to access Bloomberg&amp;reg; real-time data from your Java application via J-Integra. Before running this example, make sure you have completed the configuration steps outlined in our documentation: &lt;/P&gt;&lt;P&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=40283" target=blank&gt;Accessing Bloomberg® from Java&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Copy and paste the code below (and reference the Java proxies for Bloomberg&amp;reg;) to get started with the example&lt;/P&gt;&lt;P&gt;For a third-party solution leveraging J-Integra, please see Optura&amp;reg;'s &lt;A href="http://www.opturo.com/via/"&gt;Virtual Investment Analytics&lt;/A&gt; (VIA) automation platform. Additional information can also be found &lt;A href="http://opturo.com/d_etl.html"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;TABLE border=0 cellSpacing=10 cellPadding=0 bgColor=#dddddd&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;PRE&gt;import blpdatax.BlpData;import blpdatax._BlpDataEventsAdapter;public class RealTimeDataExample {    // fire event types    final static int ByField = 0;    final static int ByRequest = 1;    final static int BySecurity = 2;    // list of securities we wish to monitor    static Object[] security = {"MSFT US Equity", "IBM US Equity", "EUR Curncy", "CAD Curncy"};    // security fields we wish to monitor    static Object[] fields = {"Last_Price", "Bid", "Ask", "Volume", "High", "Low"};    public static void main(String[] args) {        try{            //Uncomment this line if running J-Integra in native mode            //i.e. Java and Bloomberg are running in the same machine            //System.setProperty("JINTEGRA_NATIVE_MODE", "");            // Uncomment this line if running J-Integra in DCOM mode            // i.e. Java and Bloomberg are in different machines            // DCOM authentication: Make sure NT Domain, NT User, NT Password are valid credentials.            //com.linar.jintegra.AuthInfo.setDefault("NT D</description><pubDate>Tue, 04 May 2010 09:30:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Getting Asynchronous Data Requests From Bloomberg®</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=37457</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Getting Asynchronous Data Requests From Bloomberg®&lt;/H1&gt;&lt;H3&gt;Thanks to David McKenzie for the workaround suggested in this article.&lt;/H3&gt;&lt;P&gt;Be aware that if you start using the BLP Data Control, there is a problem that will keep asynchronous data requests from functioning correctly unless you use a work-around with J-Integra. The problem is that for the &lt;I&gt;Subscribe&lt;/I&gt; and &lt;I&gt;GetHistoricalData&lt;/I&gt; methods, the &lt;I&gt;Results&lt;/I&gt; parameter is declared as &lt;B&gt;[OUT, OPTIONAL]&lt;/B&gt; in the Bloomberg® DLL type library. You can only tell the Data Control that you want an asynchronous data return by omitting the &lt;I&gt;Results&lt;/I&gt; parameter from the method call.&lt;/P&gt;&lt;P&gt;The VB compiler is smart enough to know that when the &lt;B&gt;[OPTIONAL]&lt;/B&gt; attribute is designated, and the optional parameter has been omitted, it automaticaly passes a &lt;B&gt;VT_ERROR&lt;/B&gt; variant with the value &lt;B&gt;DISP_E_PARAMNOTFOUND&lt;/B&gt; (from C++, you just pass the &lt;B&gt;VT_ERROR&lt;/B&gt; variant directly). Apparently VB does not care whether the parameter is an &lt;B&gt;[IN]&lt;/B&gt; parameter or an &lt;B&gt;[OUT]&lt;/B&gt; parameter.&lt;/P&gt;&lt;P&gt;Using the wrapper method generated by J-Integra, omitting the parameter is not an option because Java does not allow optional parameters - so you must pass &lt;I&gt;null&lt;/I&gt;. However, J-Integra does not handle optional parameters correctly if they are declared as &lt;B&gt;[OUT, OPTIONAL]&lt;/B&gt;. When J-Integra sees the &lt;B&gt;[OUT]&lt;/B&gt; designation, it doesn't do any conversion of the parameter. It is only when the parameter is designated as &lt;B&gt;[IN, OPTIONAL]&lt;/B&gt; that a &lt;I&gt;null&lt;/I&gt; value gets converted into a &lt;B&gt;VT_ERROR&lt;/B&gt; variant.&lt;/P&gt;&lt;P&gt;To get around the problem, you can use &lt;I&gt;invokeMethodByName()&lt;/I&gt; to bypass J-Integra's parameter type checking. When &lt;I&gt;invokeMethodByName()&lt;/I&gt; is used instead of calling the COM method directly, the &lt;B&gt;[IN]&lt;/B&gt; / &lt;B&gt;[OUT]&lt;/B&gt; attribute is not checked when sending parameters down the wire. Any paramater that is &lt;I&gt;null&lt;/I&gt; will be converted into a &lt;B&gt;VT_ERROR&lt;/B&gt; variant.&lt;/P&gt;&lt;P&gt;The f</description><pubDate>Tue, 04 May 2010 09:27:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Using J-Integra to Access Historical Time-Series Data from Bloomberg®</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183198</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Using J-Integra to Access Historical Time-Series Data from Bloomberg®&lt;/H1&gt;&lt;P&gt;The following example demonstrates how to access Bloomberg® time-series data from your Java application via J-Integra. Before running this example, make sure you have completed the configuration steps outlined in our documentation: &lt;/P&gt;&lt;P&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=40283" target=blank&gt;Accessing Bloomberg® from Java&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Copy and paste the code below (and reference the Java proxies for Bloomberg®) to get started with the example. &lt;/P&gt;&lt;P&gt;For a third-party solution leveraging J-Integra, please see Optura®'s &lt;A href="http://www.opturo.com/via/"&gt;Virtual Investment Analytics&lt;/A&gt; (VIA) automation platform. Additional information can also be found &lt;A href="http://opturo.com/d_etl.html"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;TABLE border=0 cellSpacing=10 cellPadding=0 bgColor=#dddddd&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;PRE&gt;import blpdatax.BlpData;import blpdatax._BlpDataEventsAdapter;public class HistoricalDataExample {    //Bloomberg PERIODICITY constants    final static int bbDaily = 1;    final static int bbWeekly = 6;    final static int bbMonthly = 7;    final static int bbQuarterly = 8;    final static int bbSemiAnnually = 5;    final static int bbYearly = 9;    final static int bbActualDaily = 1342177281;    final static int bbActualWeekly = 1342177286;    final static int bbActualMonthly = 1342177287;    final static int bbActualQuarterly = 1342177288;    final static int bbActualSemiAnnually = 1342177285;    final static int bbActualAnnually = 1342177289;    final static int bbCalendarDaily = 1610612737;    final static int bbCalendarWeekly = 1610612742;    final static int bbCalendarMonthly = 1610612743;    final static int bbCalendarQuarterly = 1610612744;    final static int bbCalendarSemiAnnually = 1610612741;    final static int bbCalendarAnnually = 1610612745;    final static int bbFiscalQuarterly = 1879048200;    fin</description><pubDate>Tue, 04 May 2010 09:26:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Accessing Bloomberg® from Java</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=40283</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Accessing Bloomberg® from Java&lt;/H1&gt;&lt;P&gt;The following example shows how to access the Bloomberg® BLP Data Control from Java using J-Integra. This example will run on any OS, run on any platform, and requires no native code (no DLLs). You can also download this example by clicking on the attachment below.&lt;/P&gt;&lt;P&gt;For a third-party solution leveraging J-Integra, please see Optura®'s &lt;A href="http://www.opturo.com/via/"&gt;Virtual Investment Analytics&lt;/A&gt; (VIA) automation platform. Additional information can also be found &lt;A href="http://opturo.com/d_etl.html"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;TABLE border=0 cellSpacing=10 cellPadding=0 bgColor=#dddddd&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;PRE&gt;/* This example shows a pure Java client using the J-Integra pure Java-COM &lt;BR&gt; * bridge to talk to the Bloomberg® BLP Data Control. You can run this &lt;BR&gt; * program on any machine that supports a standard JVM. &lt;BR&gt; *&lt;BR&gt; * Create a file called BloombergExample.java containing this Java code. &lt;BR&gt; * Create a subdirectory called "blpdatax" under the directory containing &lt;BR&gt; * this Java program.&lt;BR&gt; *&lt;BR&gt; * Generate the pure Java proxy files used by this program to access the&lt;BR&gt; * Bloomberg® BLP Data Control by running the 'com2java' tool from the J-Integra &lt;BR&gt; * 'bin' directory. Specify "blpdatax.dll" as the type library, "blpdatax" &lt;BR&gt; * as the package name, and the blpdatax subdirectory you created above as the &lt;BR&gt; * output directory. &lt;BR&gt; *&lt;BR&gt; * You will also need to create a surrogate for "blpdatax.dll" using the &lt;BR&gt; * setdllhost tool. Open a command prompt and 'cd' to the directory containing&lt;BR&gt; * the blpdatax.dll file. Enter the following command:&lt;BR&gt; * &amp;gt; setdllhost blpdatax.dll "Blpdatax"&lt;BR&gt; *&lt;BR&gt; * You may have to run DCOMCNFG and check that the DCOM settings for the new &lt;BR&gt; * surrogate are configured properly. For more information on DCOM configuration,&lt;BR&gt; * please see &lt;A href="http://j-i</description><pubDate>Tue, 04 May 2010 09:25:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Embedding Internet Explorer in a Java Frame</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=52227</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Embedding Internet Explorer in a Java Frame&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;This example embeds Internet Explorer inside a JFrame, navigates to an HTML document, and reads/displays the tags in the document to the command prompt. To run this example you will need the Java proxies generated from the mshtml type library, as well as the main Internet Explorer typelibrary (shdocvw.dll). &lt;P&gt;We assume that you are familiar with Java -- no COM knowledge should be required. You may wish to run through some of the more detailed step-by-step examples in the J-Integra documentation (such as the Excel example) prior to trying this example. We assume you have already &lt;A href="http://j-integra.intrinsyc.com/downloads/" target=blank&gt;downloaded and installed the J-Integra SDK&lt;/A&gt;. &lt;P&gt;&lt;TT&gt;Steps:&lt;BR&gt;1. Configure your Environment&lt;BR&gt;2. Download the Java proxies &lt;BR&gt;3. Run the Example&lt;BR&gt;&lt;/TT&gt;&lt;H2&gt;Step 1: Configure your Environment&lt;/H2&gt;&lt;P&gt;Create a new folder to where the &lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/HTMLDocumentParser-GUIDbebdbed5811f429fac70b8b17fbf4126.java"&gt;HTMLDocumentParser.java &lt;/A&gt;source file will be downloaded. We assume that you have already configured your DCOM settings and environment variables such as Path and Classpath. &lt;H2&gt;Step 2: Download the Java proxies&lt;/H2&gt;&lt;P&gt;We have already generated the Java proxies needed for this example (they can be downloaded below). The two files you need to download are &lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/mshtml-GUIDbcb45de69b3e4baa8ea6a71e2da44b40.zip"&gt;mshtml.zip&lt;/A&gt; and &lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/shdocvw-GUIDdc24bd97dec246fe9385c74d799705da.zip"&gt;shdocvw.zip&lt;/A&gt;. Please unzip these fil</description><pubDate>Fri, 11 Dec 2009 04:00:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Working with Custom Document Properties in Microsoft Word 2003</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=107452</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Working with Custom Document Properties in Microsoft Word 2003&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;There is a glitch in the type library of Microsoft Word 2003 which makes it confusing for Word developers to work with Custom Document Properties programmatically. If you browse through the Word type library (MSWORD.OLB) using Visual Basic's Object Browser and look for CustomProperties, you will see that the Add function has the following signature: &lt;P&gt;  Function Add(Name As String, Value As String) As CustomProperty Member of Word.CustomProperties &lt;P&gt;Note that the function accepts two string parameters. Consequently, com2java will generate the corresponding Java method for this function as follows: &lt;P&gt;  public word.CustomProperty add(String name, String value) &lt;P&gt;When you then call CustomProperties.Add() from Java passing it two valid String parameters, you will get an exception from your Java client that looks as follows: &lt;P&gt;  java.lang.ClassCastException: A COM object reference via iid &lt;BR&gt;  00020400-0000-0000-c000-000000000046 does not support COM&lt;BR&gt;  interface b923fde1-f08c-11d3-91b0-00105a0a19fd&lt;BR&gt;    at com.linar.jintegra.Dispatch.b(Unknown Source)&lt;BR&gt;    at com.linar.jintegra.Dispatch.vtblInvoke(Unknown Source)&lt;BR&gt;    at word.CustomPropertiesProxy.add(CustomPropertiesProxy.java:212)&lt;BR&gt;    at CustomDocProperties.main(CustomDocProperties.java:37) &lt;P&gt;When to attempt to call the same function from VB passing it 2 string parameters as required by the function signature, you will get the following error: &lt;P&gt;&lt;I&gt;Run-time error '450': Wrong number of arguments or invalid property assignment&lt;/I&gt; &lt;P&gt; &lt;IMG hspace=0 sr</description><pubDate>Tue, 22 Apr 2008 03:23:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Embedding a Microsoft Office Document in a Java Frame</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=66642</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Embedding a Microsoft Office Document in a Java Frame&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;According to Microsoft Knowledge Base &lt;A href="http://support.microsoft.com/support/kb/articles/q242/2/43.asp" target=blank&gt;article 242243&lt;/A&gt; and &lt;A href="http://support.microsoft.com/support/kb/articles/q311/7/65.asp" target=blank&gt;article 311765&lt;/A&gt;, Microsoft Office documents (including Word, Excel, PowerPoint, Project, and Visio documents) are ActiveX Document servers, not ActiveX Controls. Visual Basic does not support a native control to host ActiveX Documents. Instead, Visual Basic uses the OLE container control to embed an ActiveX Document. Therefore you cannot directly embed ActiveX Documents in a Java frame either. There are three workarounds:&lt;/P&gt;&lt;H2&gt;1. Use the WebBrowser ActiveX Control&lt;/H2&gt;&lt;P&gt;The WebBrowser control that comes with Internet Explorer (version 3.0 and higher) does support this form of in-place containment. It is possible to use this control to open an Office document as an ActiveX Document as mentioned in &lt;A href="http://support.microsoft.com/support/kb/articles/q243/0/58.asp" target=blank&gt;Microsoft Knowledge Base Article - 243058&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Run J-Integra's com2java tool and select C:\WINDOWS\system32\shdocvw.dll as the type library. Check the &lt;B&gt;"Generate extra classes for embedding ActiveX controls in AWT components"&lt;/B&gt; option and use &lt;B&gt;shdocvw&lt;/B&gt; as the package name. Generate the proxies to a subdirectory named shdocvw.&lt;/P&gt;&lt;P&gt;&lt;B&gt;Note:&lt;/B&gt; Due to a method naming conflict between &lt;FONT face="Courier New" size=2&gt;java.awt.Component&lt;/FONT&gt; and &lt;FONT face="Courier New" size=2&gt;shdocvw.WebBrowser&lt;/FONT&gt;, you will receive the errors below when attempting to compile the generated proxies. T</description><pubDate>Mon, 18 Feb 2008 03:16:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Running the COM Accessing Java Early Binding Example (with Events) Using a VC++ Client</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=71119</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Running the COM Accessing Java Early Binding Example (with Events) Using a Visual C++ Client&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The attachment, &lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/EarlyBindExample-GUID0b9c12bdcfd6418a8d726523cf695bae.zip"&gt;EarlyBindExample.zip&lt;/A&gt;, contains the COM accessing Java early binding example from the documentation, but also includes a VC++ client in addition to the VB client. To run the example with a VC++ client, do the following: &lt;/P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;OL type=1&gt;&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;FONT face=Arial&gt;Download the attachment and extract the files to your hard disk.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;FONT face=Arial&gt;Follow the instructions in the &lt;STRONG&gt;&lt;EM&gt;readme.txt&lt;/EM&gt;&lt;/STRONG&gt; file to setup and run the example.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;FONT face=Arial&gt;To run the VC++ client, open the project file in the &lt;STRONG&gt;&lt;EM&gt;cxx client&lt;/EM&gt;&lt;/STRONG&gt; directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;FONT face=Arial&gt;Select the &lt;STRONG&gt;&lt;EM&gt;Build-&amp;gt;Rebuild All&lt;/EM&gt;&lt;/STRONG&gt; opti</description><pubDate>Tue, 20 Feb 2007 06:34:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Accessing .NET Components From a Java Client</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=78813</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Accessing .NET Components From a Java Client&lt;/H1&gt;&lt;P&gt;This step-by-step example shows you how you can use J-Integra to access .NET components from a Java client or embed a .NET form in a Java AWT/SWING frame. If your Java client does not embed a .NET GUI component in a Java frame, you can also use &lt;A href="http://j-integra.intrinsyc.com/products/net/" target=blank&gt;J-Integra for .NET&lt;/A&gt; to integrate your Java/J2EE and .NET components. J-Integra for COM uses a &lt;A href="http://msdn.microsoft.com/library/en-us/cpguide/html/cpconcomcallablewrapper.asp" target=blank&gt;COM Callable Wrapper&lt;/A&gt; to bridge Java and .NET, whereas &lt;A href="http://j-integra.intrinsyc.com/products/net/" target=blank&gt;J-Integra for .NET&lt;/A&gt; uses pure &lt;A href="http://msdn.microsoft.com/library/en-us/dndotnet/html/hawkremoting.asp" target=blank&gt;.NET Remoting Protocol&lt;/A&gt; to do the bridging. &lt;H3&gt;Contents&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=78813#introduction"&gt;Introduction&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=78813#configure"&gt;Configure the .NET environment&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=78813#compile"&gt;Compile and register the C# component&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=78813#addtogac"&gt;Add the C# component to the GAC&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=78813#tlb"&gt;Create a TLB from the C# component&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=78813#proxies"&gt;Generate and compile the Java proxies for the C# component&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/admin/editarticle.aspx?id=78813#client"&gt;Compile and run the Java client&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This example was built using the following: &lt;UL&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/downloads/" target=blank&gt;J-Integra&lt;/</description><pubDate>Tue, 17 Oct 2006 02:11:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Running a Java Class as an Windows NT/2000/XP/Server 2003 Service</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30411</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Running a Java Class as an Windows NT/2000/XP/Server 2003 Service&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;H2&gt;Background&lt;/H2&gt;&lt;P&gt;Windows 2000 and Windows NT support the concept of services. A service is a software component that runs in the background. Examples include the "Event Log" service which provides logging facilities, and the "DHCP Client" service which manages obtaining an IP address for your machine. If you have IIS on your machine, it runs as a service also.&lt;/P&gt;&lt;P&gt;Service states are controlled by the services control panel (on Windows 2000 select Start-&amp;gt;Programs-&amp;gt;Administrative Tools-&amp;gt;Services). Services respond to a number of control commands including start, stop, pause and resume. So a service must be programmed to handle these events.&lt;/P&gt;&lt;P&gt;The most interesting feature of services is that they are running even when there are no users logged on. So if your application needs to run all the time, with and without users logged on, then it must run as a service.&lt;/P&gt;&lt;H2&gt;JavaService by Alexandria Software Consulting&lt;/H2&gt;&lt;P&gt;JavaService is an application that allows any Java class to be run as a Service. It is an open source product that was originally developed and distributed by Alexandria Software Consulting.  However, the JavaService software is now hosted by the ObjectWeb source forge. It can be downloaded from &lt;A href="http://javaservice.objectweb.org/index.html"&gt;here&lt;/A&gt; (&lt;A href="http://javaservice.objectweb.org/index.html"&gt;http://javaservice.objectweb.org/index.html&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;Please note that Intrinsyc Software does not provide technical support for JavaService.&lt;/P&gt;&lt;P&gt;We have successfully used this product to run the COM to Java bridges in our Application Server examples (suc</description><pubDate>Thu, 27 Jul 2006 03:37:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item></channel></rss>