<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: .Net: Working with OpenOffice 3</title> <atom:link href="http://blog.nkadesign.com/2008/net-working-with-openoffice-3/feed/" rel="self" type="application/rss+xml" /><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/</link> <description>Renaud Bompuis on the interwebs!</description> <lastBuildDate>Thu, 09 May 2013 14:27:45 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=289</generator> <item><title>By: Artjoms Fomenko</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-14499</link> <dc:creator>Artjoms Fomenko</dc:creator> <pubDate>Wed, 03 Apr 2013 09:39:06 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-14499</guid> <description><![CDATA[&lt;p&gt;Big thanks to you&#039;r post it was really helpfull! Specially thanks for the Platform configuration.&lt;/p&gt;
&lt;p&gt;And about this code:&lt;/p&gt;
&lt;p&gt;&#039; OpenOffice being a 32 bit app, its registry location is different in a 64 bit OS
If (Marshal.SizeOf(GetType(IntPtr)) = 8) Then
baseKey = &quot;SOFTWARE&#092;Wow6432Node&#092;OpenOffice.org&#092;&quot;
Else
baseKey = &quot;SOFTWARE&#092;OpenOffice.org&#092;&quot;
End If&lt;/p&gt;
&lt;p&gt;IntPtr.Size won&#039;t return the correct value if running in 32-bit .NET Framework 2.0 on 64-bit Windows (it would return 32-bit).&lt;/p&gt;
&lt;p&gt;USE THIS INSTEAD:&lt;/p&gt;
&lt;p&gt;region DLL import to find bit version&lt;/p&gt;
&lt;p&gt;&lt;pre&gt;&lt;code&gt;    [DllImport(&quot;kernel32.dll&quot;, SetLastError = true, CallingConvention = CallingConvention.Winapi)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool IsWow64Process([In] IntPtr hProcess, [Out] out bool lpSystemInfo);
#endregion
#region Windows bit version finding
public static bool Is64Bit()
{
bool retVal;
IsWow64Process(Process.GetCurrentProcess().Handle, out retVal);
return retVal;
}
public static string GetOSBit()
{
bool is64bit = Is64Bit();
if (is64bit)
return &quot;x64&quot;;
else
return &quot;x32&quot;;
}
#endregion
&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>Big thanks to you&#8217;r post it was really helpfull! Specially thanks for the Platform configuration.</p><p>And about this code:</p><p>&#8216; OpenOffice being a 32 bit app, its registry location is different in a 64 bit OS
If (Marshal.SizeOf(GetType(IntPtr)) = 8) Then
baseKey = &#8220;SOFTWARE&#092;Wow6432Node&#092;OpenOffice.org&#092;&#8221;
Else
baseKey = &#8220;SOFTWARE&#092;OpenOffice.org&#092;&#8221;
End If</p><p>IntPtr.Size won&#8217;t return the correct value if running in 32-bit .NET Framework 2.0 on 64-bit Windows (it would return 32-bit).</p><p>USE THIS INSTEAD:</p><p>region DLL import to find bit version</p><p><pre><pre><code>    [DllImport("kernel32.dll", SetLastError = true, CallingConvention = CallingConvention.Winapi)]
    [return: MarshalAs(UnmanagedType.Bool)]
    public static extern bool IsWow64Process([In] IntPtr hProcess, [Out] out bool lpSystemInfo);
    #endregion
    #region Windows bit version finding
    public static bool Is64Bit()
    {
        bool retVal;
        IsWow64Process(Process.GetCurrentProcess().Handle, out retVal);
        return retVal;
    }
    public static string GetOSBit()
    {
        bool is64bit = Is64Bit();
        if (is64bit)
            return "x64";
        else
            return "x32";
    }
    #endregion
</code></pre></pre></p> ]]></content:encoded> </item> <item><title>By: Scott</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-14160</link> <dc:creator>Scott</dc:creator> <pubDate>Wed, 20 Feb 2013 20:32:38 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-14160</guid> <description><![CDATA[&lt;p&gt;had to change the line
string key = baseKey + @&quot;Layers&#092;URE&#092;1&quot;;
to
string key = baseKey + @&quot;Layers_&#092;URE&#092;1&quot;;
in ConfigureOO3x to get this to work for me&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>had to change the line
string key = baseKey + @&#8221;Layers&#092;URE&#092;1&#8243;;
to
string key = baseKey + @&#8221;Layers_&#092;URE&#092;1&#8243;;
in ConfigureOO3x to get this to work for me</p> ]]></content:encoded> </item> <item><title>By: Hari</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-14100</link> <dc:creator>Hari</dc:creator> <pubDate>Fri, 14 Dec 2012 10:20:33 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-14100</guid> <description><![CDATA[&lt;p&gt;Hi Iam Using open office in my asp.net project for generating pdf files for .docx,.xlsx file by using UNO DLLS
I m facing the problem as this code works well in my developement environment ASP.Net on my machine, But not getting output (no response browser running for long time but no result) when deployed on web server (IIS).&lt;/p&gt;
&lt;p&gt;can any tell how to do it through IIS&lt;/p&gt;
&lt;p&gt;Thanks In Advance&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>Hi Iam Using open office in my asp.net project for generating pdf files for .docx,.xlsx file by using UNO DLLS
I m facing the problem as this code works well in my developement environment ASP.Net on my machine, But not getting output (no response browser running for long time but no result) when deployed on web server (IIS).</p><p>can any tell how to do it through IIS</p><p>Thanks In Advance</p> ]]></content:encoded> </item> <item><title>By: ilber</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-14073</link> <dc:creator>ilber</dc:creator> <pubDate>Thu, 26 Jul 2012 09:56:29 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-14073</guid> <description><![CDATA[&lt;p&gt;thanks a lot.&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>thanks a lot.</p> ]]></content:encoded> </item> <item><title>By: Riti Tiwari</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-14054</link> <dc:creator>Riti Tiwari</dc:creator> <pubDate>Mon, 16 Apr 2012 08:16:27 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-14054</guid> <description><![CDATA[&lt;p&gt;i m getting an error of specified module not found,plz do tell me how to resolve this error&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>i m getting an error of specified module not found,plz do tell me how to resolve this error</p> ]]></content:encoded> </item> <item><title>By: Shital Akruwala</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-13730</link> <dc:creator>Shital Akruwala</dc:creator> <pubDate>Fri, 12 Aug 2011 12:03:25 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-13730</guid> <description><![CDATA[&lt;p&gt;thank u....u helped a lot in finding cli*.dll files...&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>thank u&#8230;.u helped a lot in finding cli*.dll files&#8230;</p> ]]></content:encoded> </item> <item><title>By: nvithlani</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-13561</link> <dc:creator>nvithlani</dc:creator> <pubDate>Sat, 05 Mar 2011 09:56:01 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-13561</guid> <description><![CDATA[&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am facing the problem that the code is hanging infinitely at calling Bootstrap.bootstrap(). I have tried many solution and the ones suggested here but all in vain.&lt;/p&gt;
&lt;p&gt;Additional specification of my working environment:
- I am having Windows 7 Ultimate OS
- I am using Visual Studio 2008
- The code is written in 3.5 website&lt;/p&gt;
&lt;p&gt;The surprising part is that things are working fine in ASP.NET Web Application but giving problem in ASP.NET Web Site.&lt;/p&gt;
&lt;p&gt;Please let me know, if I am missing something.&lt;/p&gt;
&lt;p&gt;Thanks..&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>Hi,</p><p>I am facing the problem that the code is hanging infinitely at calling Bootstrap.bootstrap(). I have tried many solution and the ones suggested here but all in vain.</p><p>Additional specification of my working environment:
- I am having Windows 7 Ultimate OS
- I am using Visual Studio 2008
- The code is written in 3.5 website</p><p>The surprising part is that things are working fine in ASP.NET Web Application but giving problem in ASP.NET Web Site.</p><p>Please let me know, if I am missing something.</p><p>Thanks..</p> ]]></content:encoded> </item> <item><title>By: Illés András</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-13555</link> <dc:creator>Illés András</dc:creator> <pubDate>Wed, 23 Feb 2011 11:18:24 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-13555</guid> <description><![CDATA[&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Thanks for your article!
Do you have any experience with oo 3.3?
After your help the problem is still on. :(&lt;/p&gt;
&lt;p&gt;An very dummy question but: what means GAC abbrevation?&lt;/p&gt;
&lt;p&gt;Best Regards!&lt;/p&gt;
&lt;p&gt;Andris&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>Hi!</p><p>Thanks for your article!
Do you have any experience with oo 3.3?
After your help the problem is still on. :(</p><p>An very dummy question but: what means GAC abbrevation?</p><p>Best Regards!</p><p>Andris</p> ]]></content:encoded> </item> <item><title>By: Park</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-13536</link> <dc:creator>Park</dc:creator> <pubDate>Wed, 19 Jan 2011 13:11:10 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-13536</guid> <description><![CDATA[&lt;p&gt;Hi.
It&#039;s very helpful article. But I Can&#039;t deploy asp.net project using OO CLI  to x64 production machine. Is there any help for deploing asp.net project to x64 server.&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>Hi.
It&#8217;s very helpful article. But I Can&#8217;t deploy asp.net project using OO CLI  to x64 production machine. Is there any help for deploing asp.net project to x64 server.</p><p>Thanks in advance</p> ]]></content:encoded> </item> <item><title>By: argy13</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-12213</link> <dc:creator>argy13</dc:creator> <pubDate>Fri, 13 Aug 2010 20:46:09 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-12213</guid> <description><![CDATA[&lt;p&gt;It s very helpful text. Nowhere else could not find something for the cli dll&#039;s of OpenOffice 3 and i could n t do anything.&lt;/p&gt;
&lt;p&gt;Thank s a lot!!!!&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>It s very helpful text. Nowhere else could not find something for the cli dll&#8217;s of OpenOffice 3 and i could n t do anything.</p><p>Thank s a lot!!!!</p> ]]></content:encoded> </item> <item><title>By: Pawan Kumar</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-11905</link> <dc:creator>Pawan Kumar</dc:creator> <pubDate>Wed, 24 Feb 2010 11:18:41 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-11905</guid> <description><![CDATA[&lt;p&gt;I would appreciate dot net developer who used open
office to produce excel reports deployed over web Server IIS.&lt;/p&gt;
&lt;p&gt;I m still facing the problem as this code works well in my developement environment ASP.Net 2.0 on my machine, But fails to produce report when deployed on web server (IIS).&lt;/p&gt;
&lt;p&gt;I would like to thanks if some one provide me complete code of this for Visual Studio 2005 to produce reports in scalc.&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>I would appreciate dot net developer who used open
office to produce excel reports deployed over web Server IIS.</p><p>I m still facing the problem as this code works well in my developement environment ASP.Net 2.0 on my machine, But fails to produce report when deployed on web server (IIS).</p><p>I would like to thanks if some one provide me complete code of this for Visual Studio 2005 to produce reports in scalc.</p> ]]></content:encoded> </item> <item><title>By: rohini</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-11904</link> <dc:creator>rohini</dc:creator> <pubDate>Wed, 24 Feb 2010 08:31:04 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-11904</guid> <description><![CDATA[&lt;p&gt;hI ,
InitOpenOfficeEnvironment()
function works for me to resolve the bootstrap error.
Thanks!&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>hI ,
InitOpenOfficeEnvironment()
function works for me to resolve the bootstrap error.
Thanks!</p> ]]></content:encoded> </item> <item><title>By: rohini</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-11903</link> <dc:creator>rohini</dc:creator> <pubDate>Tue, 23 Feb 2010 12:33:23 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-11903</guid> <description><![CDATA[&lt;p&gt;I have done all the above mensioned things but getting error &quot;External component has thrown an exception.&quot;
for bootstrap.&lt;/p&gt;
&lt;p&gt;code line is
XComponentContext oStrap = uno.util.Bootstrap.bootstrap() ;&lt;/p&gt;
&lt;p&gt;please help&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>I have done all the above mensioned things but getting error &#8220;External component has thrown an exception.&#8221;
for bootstrap.</p><p>code line is
XComponentContext oStrap = uno.util.Bootstrap.bootstrap() ;</p><p>please help</p> ]]></content:encoded> </item> <item><title>By: thaler</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-11768</link> <dc:creator>thaler</dc:creator> <pubDate>Mon, 02 Nov 2009 14:36:06 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-11768</guid> <description><![CDATA[&lt;p&gt;I had problems with starting OpenOffice 3.1 remotely from .NET 3.5 via TCP until i realized this:&lt;/p&gt;
&lt;p&gt;I used Visual Studio 2008 and my .NET-Programm was a Windows-Service with his own app.config-File.
My first and fatal step during my tests was, that i changed the .NET-runtime in my project-properties to .NET 2.0 . Therefore VS2008 inserted ohne row in my app.config-File, which tells my program, to use .NET 2.0 at runtime.&lt;/p&gt;
&lt;p&gt;After i read this article, i changed the .NET-runtime to .NET 3.5 and it don&#039;t run. I don&#039;t realize, that this single line in my app.config-File wasn&#039;t removed and therefore my program used .NET 2.0 at runtime anymore.&lt;/p&gt;
&lt;p&gt;When i realized this line and removed it, so that my program used realy .NET 3.5, in runs perfect!&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>I had problems with starting OpenOffice 3.1 remotely from .NET 3.5 via TCP until i realized this:</p><p>I used Visual Studio 2008 and my .NET-Programm was a Windows-Service with his own app.config-File.
My first and fatal step during my tests was, that i changed the .NET-runtime in my project-properties to .NET 2.0 . Therefore VS2008 inserted ohne row in my app.config-File, which tells my program, to use .NET 2.0 at runtime.</p><p>After i read this article, i changed the .NET-runtime to .NET 3.5 and it don&#8217;t run. I don&#8217;t realize, that this single line in my app.config-File wasn&#8217;t removed and therefore my program used .NET 2.0 at runtime anymore.</p><p>When i realized this line and removed it, so that my program used realy .NET 3.5, in runs perfect!</p> ]]></content:encoded> </item> <item><title>By: teztech.com &#187; Web Service for Document Conversion - an Odyssey</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-11573</link> <dc:creator>teztech.com &#187; Web Service for Document Conversion - an Odyssey</dc:creator> <pubDate>Sun, 28 Jun 2009 18:02:32 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-11573</guid> <description><![CDATA[&lt;p&gt;[...] showed up under &#8220;Add Reference&#8221; in Visual Studio. After some Google searches, I finally stumbled across a solution. OK, wow, digging though install cab files for DLLs, hacking the registry and manipulating the PATH [...]&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>[...] showed up under &#8220;Add Reference&#8221; in Visual Studio. After some Google searches, I finally stumbled across a solution. OK, wow, digging though install cab files for DLLs, hacking the registry and manipulating the PATH [...]</p> ]]></content:encoded> </item> <item><title>By: Pawan</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-10089</link> <dc:creator>Pawan</dc:creator> <pubDate>Sat, 21 Feb 2009 07:22:29 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-10089</guid> <description><![CDATA[&lt;p&gt;OpenOffice 3.0  works fine with .Net Framework 2.0. Running the site from IIS Server need some access rights as ASPNET worker process can not access local machine files.&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>OpenOffice 3.0  works fine with .Net Framework 2.0. Running the site from IIS Server need some access rights as ASPNET worker process can not access local machine files.</p> ]]></content:encoded> </item> <item><title>By: Renaud</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-10082</link> <dc:creator>Renaud</dc:creator> <pubDate>Fri, 20 Feb 2009 15:40:56 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-10082</guid> <description><![CDATA[&lt;p&gt;@Aleksandr: this is what the &lt;a href=&quot;http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/CLI/CLI_Language_Binding&quot; rel=&quot;nofollow&quot;&gt;OpenOffice wiki for .Net binding&lt;/a&gt; says (&lt;a href=&quot;http://209.85.173.132/search?q=cache:5O_o3QEypNoJ:wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/CLI/CLI_Language_Binding&quot; rel=&quot;nofollow&quot;&gt;cached version&lt;/a&gt;, I&#039;m having trouble accessing the site).&lt;/p&gt;
&lt;p&gt;I&#039;m not sure which part of the .Net Framework 3.5 is required.&lt;br /&gt;
Best is to test thoroughly.&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>@Aleksandr: this is what the <a
href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/CLI/CLI_Language_Binding" rel="nofollow">OpenOffice wiki for .Net binding</a> says (<a
href="http://209.85.173.132/search?q=cache:5O_o3QEypNoJ:wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/CLI/CLI_Language_Binding" rel="nofollow">cached version</a>, I&#8217;m having trouble accessing the site).</p><p>I&#8217;m not sure which part of the .Net Framework 3.5 is required.<br
/> Best is to test thoroughly.</p> ]]></content:encoded> </item> <item><title>By: Aleksandr</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-10080</link> <dc:creator>Aleksandr</dc:creator> <pubDate>Fri, 20 Feb 2009 13:31:34 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-10080</guid> <description><![CDATA[&lt;blockquote&gt;
&lt;p&gt;Developing .Net applications with OpenOffice 3 now requires that the .Net framework 3.5 be installed.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I have a client, which is using .NET 2.0, it manages to work with OOo 3.0.
Is it a requirement of OOo itself  - to have .NET 3.5 installed or just a typo? I made no tests on a machine without fw 3.5.&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<blockquote><p>Developing .Net applications with OpenOffice 3 now requires that the .Net framework 3.5 be installed.</p></blockquote><p>I have a client, which is using .NET 2.0, it manages to work with OOo 3.0.
Is it a requirement of OOo itself  -- to have .NET 3.5 installed or just a typo? I made no tests on a machine without fw 3.5.</p> ]]></content:encoded> </item> <item><title>By: Pawan</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-10008</link> <dc:creator>Pawan</dc:creator> <pubDate>Fri, 13 Feb 2009 10:55:53 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-10008</guid> <description><![CDATA[&lt;p&gt;(A) My application when run in VS.net (Server) Environment and produce oo report. It producing
Open Office Excel file and Charts. Its OK.&lt;/p&gt;
&lt;p&gt;(B) In IIS Server it not produce the file and processing goes endless. Not produce any error / exception.&lt;/p&gt;
&lt;p&gt;(C) When wait long for localhost it shows &quot;An un handeled exception(System.CannotUnloadAppDomainException) occured in aspnet_wp.exp&quot;&lt;/p&gt;
&lt;p&gt;===================
What I have done. OpenOffice 3.o&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Added the TblProc.dll as reference in my project.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;five cli_ files are in GAC
Excluding cli_uno.dll file.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;give HResult error when add cli_uno.dll as reference so not added in project and it is not&lt;/p&gt;
&lt;p&gt;in GAC and in VS Server without it producing file.&lt;/p&gt;
&lt;p&gt;Please suggest what I do to resolve this issue.&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>(A) My application when run in VS.net (Server) Environment and produce oo report. It producing
Open Office Excel file and Charts. Its OK.</p><p>(B) In IIS Server it not produce the file and processing goes endless. Not produce any error / exception.</p><p>(C) When wait long for localhost it shows &#8220;An un handeled exception(System.CannotUnloadAppDomainException) occured in aspnet_wp.exp&#8221;</p><p>===================
What I have done. OpenOffice 3.o</p><ol><li><p>Added the TblProc.dll as reference in my project.</p></li><li><p>five cli_ files are in GAC
Excluding cli_uno.dll file.</p></li></ol><p>give HResult error when add cli_uno.dll as reference so not added in project and it is not</p><p>in GAC and in VS Server without it producing file.</p><p>Please suggest what I do to resolve this issue.</p> ]]></content:encoded> </item> <item><title>By: Rakshith</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-9858</link> <dc:creator>Rakshith</dc:creator> <pubDate>Fri, 30 Jan 2009 11:37:04 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-9858</guid> <description><![CDATA[&lt;p&gt;Hey! Thank u so much for the code man it helped me a lot:)&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>Hey! Thank u so much for the code man it helped me a lot:)</p> ]]></content:encoded> </item> <item><title>By: Renaud</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-9857</link> <dc:creator>Renaud</dc:creator> <pubDate>Fri, 30 Jan 2009 01:51:45 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-9857</guid> <description><![CDATA[&lt;p&gt;Hi Aleksandr,
thanks for the CodeProject article. I updated this post to include it as a reference.&lt;br /&gt;
Your project is actually something I was actually needing so I&#039;ll most probably end up using it myself.&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>Hi Aleksandr,
thanks for the CodeProject article. I updated this post to include it as a reference.<br
/> Your project is actually something I was actually needing so I&#8217;ll most probably end up using it myself.</p> ]]></content:encoded> </item> <item><title>By: Aleksandr</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-9856</link> <dc:creator>Aleksandr</dc:creator> <pubDate>Thu, 29 Jan 2009 22:34:05 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-9856</guid> <description><![CDATA[&lt;p&gt;Hi. Thanks for the sample. I Used it to upgrade my OOo library from OO 2.x to 3.0. Code sample and a bit of description at http://www.codeproject.com/KB/cs/TblProc.aspx. If you consider this is an adverisement, feel free to block it.&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>Hi. Thanks for the sample. I Used it to upgrade my OOo library from OO 2.x to 3.0. Code sample and a bit of description at <a
href="http://www.codeproject.com/KB/cs/TblProc.aspx" rel="nofollow">http://www.codeproject.com/KB/cs/TblProc.aspx</a>. If you consider this is an adverisement, feel free to block it.</p> ]]></content:encoded> </item> <item><title>By: jason</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-9840</link> <dc:creator>jason</dc:creator> <pubDate>Fri, 09 Jan 2009 20:17:12 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-9840</guid> <description><![CDATA[&lt;p&gt;I found further information about my problem &lt;a href=&quot;http://www.oooforum.org/forum/viewtopic.phtml?t=31833&amp;highlight=bootstrap+hang&quot; rel=&quot;nofollow&quot;&gt;HERE&lt;/a&gt;.  It looks like the problem may have to do with .net 2.0.  I will try building my webservice with .net 1.1 and see if that helps&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>I found further information about my problem <a
href="http://www.oooforum.org/forum/viewtopic.phtml?t=31833&amp;highlight=bootstrap+hang" rel="nofollow">HERE</a>.  It looks like the problem may have to do with .net 2.0.  I will try building my webservice with .net 1.1 and see if that helps</p> ]]></content:encoded> </item> <item><title>By: jason</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-9839</link> <dc:creator>jason</dc:creator> <pubDate>Fri, 09 Jan 2009 20:06:18 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-9839</guid> <description><![CDATA[&lt;p&gt;I have the same bootstrap hanging problem.  I am using the code you have provided to retrieve the proper path settings, however, the bootstrapper still hangs on my deployed server.  I am using a webservice (asp.net/IIS) to create a calc document and saving it to file.  The webservice runs properly when tested locally on my development box but hangs when I deploy to the server.  Both the server and my box have OOo 3.  I notice that the soffice.exe and soffice.bin processes both get started on the server.  I read &lt;a href=&quot;http://www.oooforum.org/forum/viewtopic.phtml?t=27372&amp;postdays=0&amp;postorder=asc&amp;start=0&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; that the problem may have to do with the aspnet account being used to start the OOo service.  Even after setting the webservice to impersonate a valid user with the required permissions, the bootstrapper still hangs.  The server OS is MS Windows Server 2003 SP2.&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>I have the same bootstrap hanging problem.  I am using the code you have provided to retrieve the proper path settings, however, the bootstrapper still hangs on my deployed server.  I am using a webservice (asp.net/IIS) to create a calc document and saving it to file.  The webservice runs properly when tested locally on my development box but hangs when I deploy to the server.  Both the server and my box have OOo 3.  I notice that the soffice.exe and soffice.bin processes both get started on the server.  I read <a
href="http://www.oooforum.org/forum/viewtopic.phtml?t=27372&amp;postdays=0&amp;postorder=asc&amp;start=0" rel="nofollow">here</a> that the problem may have to do with the aspnet account being used to start the OOo service.  Even after setting the webservice to impersonate a valid user with the required permissions, the bootstrapper still hangs.  The server OS is MS Windows Server 2003 SP2.</p> ]]></content:encoded> </item> <item><title>By: Renaud</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-9486</link> <dc:creator>Renaud</dc:creator> <pubDate>Wed, 03 Dec 2008 02:12:47 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-9486</guid> <description><![CDATA[&lt;p&gt;Thanks for the code Stefan.
I&#039;ve added a VB.Net translation to the article.&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>Thanks for the code Stefan.
I&#8217;ve added a VB.Net translation to the article.</p> ]]></content:encoded> </item> <item><title>By: Stefan</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-9483</link> <dc:creator>Stefan</dc:creator> <pubDate>Tue, 02 Dec 2008 16:02:49 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-9483</guid> <description><![CDATA[&lt;p&gt;Thanks, that helped a lot! I needed a VB.NET version and I like to share it for others to copy-paste.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;
&#039; Don&#039;t know how to do this with VB
&#039;// OpenOffice being a 32 bit app, its registry location is different in a 64 bit OS
&#039;if (Marshal.SizeOf(typeof(IntPtr)) == 8)  then
&#039;    baseKey = &quot;SOFTWARE\Wow6432Node\OpenOffice.org\&quot;;
&#039;Else
&#039;End If
&#039;// so just assume 32bit
Dim baseKey As String
baseKey = &quot;SOFTWARE\OpenOffice.org\&quot;
&#039;// Get the URE directory
Dim key As String = baseKey + &quot;Layers\URE\1&quot;
Dim reg As Microsoft.Win32.RegistryKey
reg = Microsoft.Win32.Registry.CurrentUser.OpenSubKey(key)
If (reg Is Nothing) Then reg = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(key)
Dim urePath As String = reg.GetValue(&quot;UREINSTALLLOCATION&quot;).ToString
reg.Close()
urePath = System.IO.Path.Combine(urePath, &quot;bin&quot;)
&#039;// Get the UNO Path
key = baseKey + &quot;UNO\InstallPath&quot;
reg = Microsoft.Win32.Registry.CurrentUser.OpenSubKey(key)
If (reg Is Nothing) Then reg = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(key)
Dim unoPath As String = reg.GetValue(Nothing).ToString
reg.Close()
Dim path As String
path = String.Format(&quot;{0};{1}&quot;, System.Environment.GetEnvironmentVariable(&quot;PATH&quot;), urePath)
System.Environment.SetEnvironmentVariable(&quot;PATH&quot;, path)
System.Environment.SetEnvironmentVariable(&quot;UNO_PATH&quot;, unoPath)
&lt;/code&gt;&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>Thanks, that helped a lot! I needed a VB.NET version and I like to share it for others to copy-paste.</p><p><pre><code>
' Don't know how to do this with VB
'// OpenOffice being a 32 bit app, its registry location is different in a 64 bit OS
        'if (Marshal.SizeOf(typeof(IntPtr)) == 8)  then
        '    baseKey = "SOFTWARE\Wow6432Node\OpenOffice.org\";
        'Else
        'End If
        '// so just assume 32bit
        Dim baseKey As String
        baseKey = "SOFTWARE\OpenOffice.org\"
        '// Get the URE directory
        Dim key As String = baseKey + "Layers\URE\1"
        Dim reg As Microsoft.Win32.RegistryKey
        reg = Microsoft.Win32.Registry.CurrentUser.OpenSubKey(key)
        If (reg Is Nothing) Then reg = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(key)
        Dim urePath As String = reg.GetValue("UREINSTALLLOCATION").ToString
        reg.Close()
        urePath = System.IO.Path.Combine(urePath, "bin")
        '// Get the UNO Path
        key = baseKey + "UNO\InstallPath"
        reg = Microsoft.Win32.Registry.CurrentUser.OpenSubKey(key)
        If (reg Is Nothing) Then reg = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(key)
        Dim unoPath As String = reg.GetValue(Nothing).ToString
        reg.Close()
        Dim path As String
        path = String.Format("{0};{1}", System.Environment.GetEnvironmentVariable("PATH"), urePath)
        System.Environment.SetEnvironmentVariable("PATH", path)
        System.Environment.SetEnvironmentVariable("UNO_PATH", unoPath)
</code></pre></p> ]]></content:encoded> </item> <item><title>By: Renaud</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-9437</link> <dc:creator>Renaud</dc:creator> <pubDate>Sun, 23 Nov 2008 06:28:22 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-9437</guid> <description><![CDATA[&lt;p&gt;@Georges: you&#039;re welcome, thanks for reporting back.&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>@Georges: you&#8217;re welcome, thanks for reporting back.</p> ]]></content:encoded> </item> <item><title>By: George</title><link>http://blog.nkadesign.com/2008/net-working-with-openoffice-3/comment-page-1/#comment-9436</link> <dc:creator>George</dc:creator> <pubDate>Sun, 23 Nov 2008 06:24:20 +0000</pubDate> <guid
isPermaLink="false">http://blog.nkadesign.com/?p=245#comment-9436</guid> <description><![CDATA[&lt;p&gt;Hi. Thanks heaps for this article - you saved my bacon. After upgrading to OO3 our windows service no longer work... but then I found your article and the tip on the UNO_PATH and now its all working. Thanks again.&lt;/p&gt;
]]></description> <content:encoded><![CDATA[<p>Hi. Thanks heaps for this article -- you saved my bacon. After upgrading to OO3 our windows service no longer work&#8230; but then I found your article and the tip on the UNO_PATH and now its all working. Thanks again.</p> ]]></content:encoded> </item> </channel> </rss>