<?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: Open a Stream from Server without temporary file</title>
	<atom:link href="http://www.ocxt.com/archives/38/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ocxt.com/archives/38</link>
	<description>ActiveX document container for hosting Office documents and PDF (including Adobe PDF, Microsoft Word, Microsoft Excel, Microsoft PowerPoint, Microsoft Project and Microsoft Visio documents)</description>
	<lastBuildDate>Sat, 19 Nov 2011 03:49:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: office viewer</title>
		<link>http://www.ocxt.com/archives/38#comment-107</link>
		<dc:creator>office viewer</dc:creator>
		<pubDate>Fri, 17 Oct 2008 09:28:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/38#comment-107</guid>
		<description>To joost:
You can get the stream then save it to the temporary folder. Use GetTempFilePath method to return a file name. At last call the ClearTempFiles method to delete the temporary files.</description>
		<content:encoded><![CDATA[<p>To joost:<br />
You can get the stream then save it to the temporary folder. Use GetTempFilePath method to return a file name. At last call the ClearTempFiles method to delete the temporary files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: office viewer</title>
		<link>http://www.ocxt.com/archives/38#comment-91</link>
		<dc:creator>office viewer</dc:creator>
		<pubDate>Wed, 30 Jul 2008 09:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/38#comment-91</guid>
		<description>Lew users failed to use the method to download file from the server. Please open the IIS setting and use IIS in anonymouse mode will make the component work!!!!</description>
		<content:encoded><![CDATA[<p>Lew users failed to use the method to download file from the server. Please open the IIS setting and use IIS in anonymouse mode will make the component work!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joost</title>
		<link>http://www.ocxt.com/archives/38#comment-89</link>
		<dc:creator>joost</dc:creator>
		<pubDate>Mon, 28 Jul 2008 08:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/38#comment-89</guid>
		<description>Hello,

Is it possible to open a file from a database stream without having a running webserver? I would like to get a Word file from a database and then load it into the Office Viewer component without using a temporary file.

Regards,
Joost</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Is it possible to open a file from a database stream without having a running webserver? I would like to get a Word file from a database and then load it into the Office Viewer component without using a temporary file.</p>
<p>Regards,<br />
Joost</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fahad</title>
		<link>http://www.ocxt.com/archives/38#comment-75</link>
		<dc:creator>fahad</dc:creator>
		<pubDate>Thu, 08 May 2008 23:09:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/38#comment-75</guid>
		<description>Hi, a previous comment asked if it was possible to open a file from an embedded resouce file. I couldn&#039;t find any functionality that would allow this in the trial version 5.3. Is this possible from within a windows application? If so could you show how. Thanks.</description>
		<content:encoded><![CDATA[<p>Hi, a previous comment asked if it was possible to open a file from an embedded resouce file. I couldn&#8217;t find any functionality that would allow this in the trial version 5.3. Is this possible from within a windows application? If so could you show how. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: office viewer</title>
		<link>http://www.ocxt.com/archives/38#comment-53</link>
		<dc:creator>office viewer</dc:creator>
		<pubDate>Tue, 08 Jan 2008 06:05:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/38#comment-53</guid>
		<description>ASP CODE:

If l_bWrSreamBoundary Then Response.Write &quot;EDA_STREAMBOUNDARY&quot; While Not l_stream.EOS And Response.IsClientConnected Response.BinaryWrite(l_stream.Read(l_nChunkSize)) Wend l_stream.Close If l_bWrSreamBoundary Then Response.Write &quot;EDA_STREAMBOUNDARY&quot;</description>
		<content:encoded><![CDATA[<p>ASP CODE:</p>
<p>If l_bWrSreamBoundary Then Response.Write &#8220;EDA_STREAMBOUNDARY&#8221; While Not l_stream.EOS And Response.IsClientConnected Response.BinaryWrite(l_stream.Read(l_nChunkSize)) Wend l_stream.Close If l_bWrSreamBoundary Then Response.Write &#8220;EDA_STREAMBOUNDARY&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ian</title>
		<link>http://www.ocxt.com/archives/38#comment-32</link>
		<dc:creator>ian</dc:creator>
		<pubDate>Mon, 03 Sep 2007 07:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/38#comment-32</guid>
		<description>Thx a lot for the friendly support in ocxt. I had solved my problem.

give you a 100 mark on your support.</description>
		<content:encoded><![CDATA[<p>Thx a lot for the friendly support in ocxt. I had solved my problem.</p>
<p>give you a 100 mark on your support.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ian</title>
		<link>http://www.ocxt.com/archives/38#comment-31</link>
		<dc:creator>ian</dc:creator>
		<pubDate>Wed, 29 Aug 2007 15:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/38#comment-31</guid>
		<description>Hi, 

May I know how am I tell the OCXViewer open a file from my .NET embedded resource file. Why the OCXViewer in window do not have the open from stream feature ? If yes, how am I able to do.

Please Advice, thanks.</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>May I know how am I tell the OCXViewer open a file from my .NET embedded resource file. Why the OCXViewer in window do not have the open from stream feature ? If yes, how am I able to do.</p>
<p>Please Advice, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: office viewer</title>
		<link>http://www.ocxt.com/archives/38#comment-24</link>
		<dc:creator>office viewer</dc:creator>
		<pubDate>Mon, 27 Aug 2007 06:11:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/38#comment-24</guid>
		<description>Please update the ocx. There is a limitation in the trial version about the function. Now we have removed the limitaion from trial version. You can download the 5.2 version again at:
http://www.ocxt.com/download/OfficeOCXSetup.exe

We added the &quot;OpenFromStream&quot; test codes in the asp.net project too.</description>
		<content:encoded><![CDATA[<p>Please update the ocx. There is a limitation in the trial version about the function. Now we have removed the limitaion from trial version. You can download the 5.2 version again at:<br />
<a href="http://www.ocxt.com/download/OfficeOCXSetup.exe" rel="nofollow">http://www.ocxt.com/download/OfficeOCXSetup.exe</a></p>
<p>We added the &#8220;OpenFromStream&#8221; test codes in the asp.net project too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ian</title>
		<link>http://www.ocxt.com/archives/38#comment-23</link>
		<dc:creator>ian</dc:creator>
		<pubDate>Sun, 26 Aug 2007 15:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/38#comment-23</guid>
		<description>Hi,

I found that my component is 5.1 and now I had successfully download the 5.2 and install on my local.

New problem are:
1. Even I use the viewer to open my excel file, it seem halt and freeze there.
2. I had trace and debug my application, it seem that the program will never go to 
if (Request.Params[”EDA_GETSTREAMDATA”] == “EDA_YES”)

Please Advice.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I found that my component is 5.1 and now I had successfully download the 5.2 and install on my local.</p>
<p>New problem are:<br />
1. Even I use the viewer to open my excel file, it seem halt and freeze there.<br />
2. I had trace and debug my application, it seem that the program will never go to<br />
if (Request.Params[”EDA_GETSTREAMDATA”] == “EDA_YES”)</p>
<p>Please Advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ian</title>
		<link>http://www.ocxt.com/archives/38#comment-22</link>
		<dc:creator>ian</dc:creator>
		<pubDate>Sun, 26 Aug 2007 14:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/38#comment-22</guid>
		<description>Hi,

I had code as the following for my open method as
OA1.HttpInit()
OA1.HttpAddpostString &quot;DocumentID&quot;,&quot;abc.xls&quot;
OA1.HttpOpenFileFromStream &quot;OpenFromStream.aspx&quot;

And then my OpenFromStream.aspx as the following
             string fullFileName = Server.MapPath(&quot;abc.xls&quot;);
            Byte[] fs = File.ReadAllBytes(fullFileName);

            Response.Write(&quot;Get Stream Successfully!&quot;);
            Response.Write(&quot;EDA_STREAMBOUNDARY&quot;);
            Response.Write(fs);
            Response.Write(&quot;EDA_STREAMBOUNDARY&quot;);

When I execute the open method,
then I get runtime error and prompt me for debugging. Please advice</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I had code as the following for my open method as<br />
OA1.HttpInit()<br />
OA1.HttpAddpostString &#8220;DocumentID&#8221;,&#8221;abc.xls&#8221;<br />
OA1.HttpOpenFileFromStream &#8220;OpenFromStream.aspx&#8221;</p>
<p>And then my OpenFromStream.aspx as the following<br />
             string fullFileName = Server.MapPath(&#8220;abc.xls&#8221;);<br />
            Byte[] fs = File.ReadAllBytes(fullFileName);</p>
<p>            Response.Write(&#8220;Get Stream Successfully!&#8221;);<br />
            Response.Write(&#8220;EDA_STREAMBOUNDARY&#8221;);<br />
            Response.Write(fs);<br />
            Response.Write(&#8220;EDA_STREAMBOUNDARY&#8221;);</p>
<p>When I execute the open method,<br />
then I get runtime error and prompt me for debugging. Please advice</p>
]]></content:encoded>
	</item>
</channel>
</rss>

