<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Office Viewer Component</title>
	<atom:link href="http://www.ocxt.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ocxt.com</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>
	<pubDate>Mon, 20 Oct 2008 14:23:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Edraw Office Viewer Component 5.4 Released</title>
		<link>http://www.ocxt.com/archives/92</link>
		<comments>http://www.ocxt.com/archives/92#comments</comments>
		<pubDate>Thu, 16 Oct 2008 11:32:51 +0000</pubDate>
		<dc:creator>office viewer</dc:creator>
		
		<category><![CDATA[Press Release]]></category>

		<guid isPermaLink="false">http://www.ocxt.com/?p=92</guid>
		<description><![CDATA[

Edraw Office Viewer Component Acts as an ActiveX document container for embeding Office documents (including Microsoft Word, Microsoft Excel, Microsoft PowerPoint, Microsoft Project, and Microsoft Visio documents) in a custom form or Web page. The control is lightweight and flexible, and gives developers new possibilities for using Office in a custom solution.
Download link: http://www.ocxt.com/download/OfficeOCXSetup.exe
Online Demo: [...]]]></description>
			<content:encoded><![CDATA[<p><strong></strong></p>
<p><span style="font-size: 16pt; font-family: Verdana;"><a title="Office  Viewer Component" href="http://www.ocxt.com/download/OfficeOCXSetup.exe"><img style="border: 0px;" src="http://www.ocxt.com/images/officecomponent.png" border="0" alt="Office Viewer Component" width="463" height="195" /></a></span></p>
<p>Edraw Office Viewer Component Acts as an ActiveX document container for embeding Office documents (including Microsoft Word, Microsoft Excel, Microsoft PowerPoint, Microsoft Project, and Microsoft Visio documents) in a custom form or Web page. The control is lightweight and flexible, and gives developers new possibilities for using Office in a custom solution.</p>
<p>Download link: <a href="http://www.ocxt.com/download/OfficeOCXSetup.exe">http://www.ocxt.com/download/OfficeOCXSetup.exe</a></p>
<p>Online Demo: <a href="http://www.ocxt.com/online-demo">http://www.ocxt.com/online-demo</a></p>
<p><span style="font-family: Verdana;"><span style="text-decoration: none;"><a title="Download Office OCX" href="http://www.ocxt.com/download/OfficeOCXSetup.exe"><img style="border: 0px;" src="http://www.ocxt.com/images/btn_down.gif" border="0" alt="Free download Office Viewer Component" width="108" height="22" /></a></span><span style="color: #ff0000;"><strong><span style="vertical-align: middle;"> </span></strong></span><span style="text-decoration: none;"><a title="Buy Office Viewer Component" href="https://www.regnow.com/softsell/nph-softsell.cgi?item=14621-2"><img style="border: 0px;" src="http://www.ocxt.com/images/btn_buy.gif" border="0" alt="Purchase Office Viewer Component in a promotional price" width="108" height="22" /></a></span><span style="color: #ff0000;"><strong><span style="vertical-align: middle;"> </span></strong></span></span></p>
<p>You can find the sample projects and help document in the install folder. <a title="Office  Viewer Component" href="http://www.ocxt.com/officeviewer.php">Learn More</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ocxt.com/archives/92/feed</wfw:commentRss>
		</item>
		<item>
		<title>Edraw PDF Viewer Component V3.2 Released</title>
		<link>http://www.ocxt.com/archives/91</link>
		<comments>http://www.ocxt.com/archives/91#comments</comments>
		<pubDate>Tue, 07 Oct 2008 13:29:40 +0000</pubDate>
		<dc:creator>office viewer</dc:creator>
		
		<category><![CDATA[Press Release]]></category>

		<guid isPermaLink="false">http://www.ocxt.com/?p=91</guid>
		<description><![CDATA[
PDF Viewer Component is a light weight ActiveX Control which enables your application to display and interact with PDF files. It is identical to Adobe Reader program and adds high speed viewing of PDF documents to your applications easily. Read-Only Support for PDF Viewer! It is a great solution for companies wishing to display read [...]]]></description>
			<content:encoded><![CDATA[<p><a title="PDF Viewer Component" href="http://www.ocxt.com/download/PDFViewerSetup.exe"><img style="border: 0px;" src="http://www.ocxt.com/images/pdfbox.gif" border="0" alt="PDF Viewer Component" width="200" height="188" /></a></p>
<p>PDF Viewer Component is a light weight ActiveX Control which enables your application to display and interact with PDF files. It is identical to Adobe Reader program and adds high speed viewing of PDF documents to your applications easily. Read-Only Support for PDF Viewer! It is a great solution for companies wishing to display read only PDF document to their employees while restricting save or save to the underlying data. The control is lightweight and flexible, and gives developers new possibilities for using PDF Reader in a custom solution.</p>
<p><span style="font-family: Verdana;"><span style="color: #ff0000;"><a title="PDF Viewer Component" href="http://www.ocxt.com/download/PDFViewerSetup.exe"><img src="http://www.ocxt.com/images/btn_down.gif" border="0" alt="Free download PDF Viewer Component" width="108" height="22" /></a><span style="color: #000000;">                   </span><span style="font-family: Verdana; text-decoration: none;"><a title="Buy PDF Viewer Component" href="https://www.regnow.com/softsell/nph-softsell.cgi?item=14621-1"><img src="http://www.ocxt.com/images/btn_buy.gif" border="0" alt="Purchase PDF Viewer Component in a promotional price" width="100" height="22" /></a></span></span></span></p>
<div class="post-content"><span style="font-family: Verdana;"><span style="color: #ff0000;"><strong><span style="color: #ff9900;">Online Demo:</span></strong> </span><a href="http://www.ocxt.com/pdfdemo.php">PDF Viewer Component Online Demo</a><br />
<a href="http://www.ocxt.com/download/pdfviewerref.pdf">Download Printable Develop Manual</a></span></div>
<p style="margin-top: 10px; margin-bottom: 10; margin-right:10px"><span style="font-family: Verdana;"><strong>PDF Viewer Component Features</strong> </span></p>
<ol>
<li>
<div style="margin-top: 10px; margin-bottom: 10; margin-right:10px"><span style="font-family: Verdana;">Seamlessly use the Adobe Reader as the container to render the PDF files. 100% PDF format compatible.</span></div>
</li>
<li>
<div style="margin-top: 10px; margin-bottom: 10; margin-right:10px"><span style="font-family: Verdana;">HTTP/HTTPS Support. With the component it is easy to upload or download file between distant server and client via HTTP/FTP.</span></div>
</li>
<li>
<div style="margin-top: 10px; margin-bottom: 10; margin-right:10px"><span style="font-family: Verdana;">Show/Hide the Save Copy As button which is available in adobe tool bar.</span></div>
</li>
<li>
<div style="margin-top: 10px; margin-bottom: 10; margin-right:10px"><span style="font-family: Verdana;">Show/Hide the PDF Print button in adobe tool bar.</span></div>
</li>
<li>
<div style="margin-top: 10px; margin-bottom: 10; margin-right:10px"><span style="font-family: Verdana;">Show/Hide the scrollbar in PDF viewer.</span></div>
</li>
<li>
<div style="margin-top: 10px; margin-bottom: 10; margin-right:10px"><span style="font-family: Verdana;">Disable the right-click menu in adobe reader window.</span></div>
</li>
<li>
<div style="margin-top: 10px; margin-bottom: 10; margin-right:10px"><span style="font-family: Verdana;">Disable all the hot keys such as Save As, Print, Show/Hide Tool Bar and more.</span></div>
</li>
<li>
<div style="margin-top: 10px; margin-bottom: 10; margin-right:10px"><span style="font-family: Verdana;">The document control represents the PDF document and lets you open, close, save, print and<br />
navigate the PDF document programmatically. Support all the interfaces of Adobe PDF Reader such as zoom, search and navigate. </span></div>
</li>
<li>
<div style="margin-top: 10px; margin-bottom: 10; margin-right:10px"><span style="font-family: Verdana;">A standard ActiveX control which can be called from different programming languages, including C/C++, C#, Delphi, Visual Basic, ASP.NET etc.</span></div>
</li>
<li>
<div style="margin-top: 10px; margin-bottom: 10; margin-right:10px"><span style="font-family: Verdana;">Requires any edition of Adobe PDF Reader is included as part of the comprehensive PDF Viewer Component.</span> </div>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.ocxt.com/archives/91/feed</wfw:commentRss>
		</item>
		<item>
		<title>Add some text at the end of Word document</title>
		<link>http://www.ocxt.com/archives/76</link>
		<comments>http://www.ocxt.com/archives/76#comments</comments>
		<pubDate>Fri, 05 Sep 2008 01:07:04 +0000</pubDate>
		<dc:creator>office viewer</dc:creator>
		
		<category><![CDATA[Office Automation]]></category>

		<guid isPermaLink="false">http://www.ocxt.com/archives/76</guid>
		<description><![CDATA[How to add some text at the end of document that is opened in Edraw office viewer, Kindly send me java script code so that i can enter signatures in my document. Please reply as soon as possible and send my java script Example.
]]></description>
			<content:encoded><![CDATA[<p>How to add some text at the end of document that is opened in Edraw office viewer, Kindly send me java script code so that i can enter signatures in my document. Please reply as soon as possible and send my java script Example.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ocxt.com/archives/76/feed</wfw:commentRss>
		</item>
		<item>
		<title>Disable Popup Menu in MS Office</title>
		<link>http://www.ocxt.com/archives/87</link>
		<comments>http://www.ocxt.com/archives/87#comments</comments>
		<pubDate>Thu, 07 Aug 2008 13:09:27 +0000</pubDate>
		<dc:creator>office viewer</dc:creator>
		
		<category><![CDATA[Tech Support]]></category>

		<guid isPermaLink="false">http://www.ocxt.com/archives/87</guid>
		<description><![CDATA[You can disable or delete the context menu item in MS Word or Excel by VBA programming.
Word:
OA1.CreateNew &#8220;Word.Document&#8221;
Set objWord = OA1.ActiveDocument
objWord.Application.CommandBars(&#8221;Text&#8221;).Controls(&#8221;Cu&#38;t&#8221;).Enabled = False
objWord.Application.CommandBars(&#8221;Text&#8221;).Controls(&#8221;&#38;Copy&#8221;).Enabled = False
objWord.Application.CommandBars(&#8221;Text&#8221;).Controls(&#8221;&#38;Paste&#8221;).Enabled = False
&#8216;delete item directly
&#8216;objWord.Application.CommandBars(&#8221;Text&#8221;).Controls(1).Delete
&#8216;objWord.Application.CommandBars(&#8221;Text&#8221;).Controls(2).Delete &#8230;.
Excel
OA1.Open &#8220;c:\text.xls&#8221;
Set objExcel = OA1.ActiveDocument
objExcel .Application.CommandBars(&#8221;Cell&#8221;).Controls(&#8221;Cu&#38;t&#8221;).Enabled = False
objExcel .Application.CommandBars(&#8221;Cell&#8221;).Controls(&#8221;&#38;Copy&#8221;).Enabled = False
objExcel .Application.CommandBars(&#8221;Cell&#8221;).Controls(&#8221;&#38;Paste&#8221;).Enabled = False
&#8216;delete item directly
&#8216;objExcel .Application.CommandBars(&#8221;Cell&#8221;).Controls(1).Delete
&#8216;objExcel .Application.CommandBars(&#8221;Cell&#8221;).Controls(2).Delete &#8230;.
]]></description>
			<content:encoded><![CDATA[<p>You can disable or delete the context menu item in MS Word or Excel by VBA programming.</p>
<p>Word:</p>
<p>OA1.CreateNew &#8220;Word.Document&#8221;<br />
Set objWord = OA1.ActiveDocument<br />
objWord.Application.CommandBars(&#8221;Text&#8221;).Controls(&#8221;Cu&amp;t&#8221;).Enabled = False<br />
objWord.Application.CommandBars(&#8221;Text&#8221;).Controls(&#8221;&amp;Copy&#8221;).Enabled = False<br />
objWord.Application.CommandBars(&#8221;Text&#8221;).Controls(&#8221;&amp;Paste&#8221;).Enabled = False<br />
&#8216;delete item directly<br />
&#8216;objWord.Application.CommandBars(&#8221;Text&#8221;).Controls(1).Delete<br />
&#8216;objWord.Application.CommandBars(&#8221;Text&#8221;).Controls(2).Delete &#8230;.</p>
<p>Excel</p>
<p>OA1.Open &#8220;c:\text.xls&#8221;<br />
Set objExcel = OA1.ActiveDocument<br />
objExcel .Application.CommandBars(&#8221;Cell&#8221;).Controls(&#8221;Cu&amp;t&#8221;).Enabled = False<br />
objExcel .Application.CommandBars(&#8221;Cell&#8221;).Controls(&#8221;&amp;Copy&#8221;).Enabled = False<br />
objExcel .Application.CommandBars(&#8221;Cell&#8221;).Controls(&#8221;&amp;Paste&#8221;).Enabled = False<br />
&#8216;delete item directly<br />
&#8216;objExcel .Application.CommandBars(&#8221;Cell&#8221;).Controls(1).Delete<br />
&#8216;objExcel .Application.CommandBars(&#8221;Cell&#8221;).Controls(2).Delete &#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ocxt.com/archives/87/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to verify whether the open document is modified</title>
		<link>http://www.ocxt.com/archives/49</link>
		<comments>http://www.ocxt.com/archives/49#comments</comments>
		<pubDate>Tue, 15 Jul 2008 04:45:37 +0000</pubDate>
		<dc:creator>office viewer</dc:creator>
		
		<category><![CDATA[Tech Support]]></category>

		<guid isPermaLink="false">http://www.ocxt.com/archives/49</guid>
		<description><![CDATA[If you are developing the destop application with the office viewer component, you can use the &#8220;IsDirty&#8221; method to verify whether the open document is modified. When the open file has any modification, the IsDirty method return TRUE. After you save the document, the IsDirty return False again.
But if you are developing the web application, [...]]]></description>
			<content:encoded><![CDATA[<p>If you are developing the destop application with the office viewer component, you can use the &#8220;IsDirty&#8221; method to verify whether the open document is modified. When the open file has any modification, the IsDirty method return TRUE. After you save the document, the IsDirty return False again.</p>
<p>But if you are developing the web application, you need to add some extra codes. Because you are opening a file from remote server and the component can&#8217;t watch the file like destop application.</p>
<p>A good method is set another variable in your application. When you save the document, you set the variable true. Any time you can judge the dirty by the IsDirty method and your own variable.</p>
<p class="MsoNormal" style="text-align: left" align="left"><span style="font-size: x-small; font-family: Tahoma;"><span style="font-size: 10pt; font-family: Tahoma;">BOOL GetIsDirty()</span></span><span style="font-size: x-small; font-family: Tahoma;"><span style="font-size: 10pt; font-family: Tahoma;">{</span></span></p>
<p class="MsoNormal" style="text-align: left" align="left"><span style="font-size: x-small; font-family: Tahoma;"></span><span style="font-size: x-small; font-family: Tahoma;"><span style="font-size: 10pt; font-family: Tahoma;">if(OA.IsDirty()==Flase) return False;</span></span></p>
<p><span style="font-size: 10pt; font-family: Tahoma;"></p>
<p class="MsoNormal" style="text-align: left" align="left"><span style="font-size: x-small; font-family: Tahoma;"><span style="font-size: 10pt; font-family: Tahoma;">else return m_bDirty;</span></span></p>
<p class="MsoNormal" style="text-align: left" align="left"><span style="font-size: x-small; font-family: Tahoma;"><span style="font-size: 10pt; font-family: Tahoma;">}</span></span></p>
<div><span style="font-size: x-small; font-family: Tahoma;"></span></div>
<p><span style="font-size: x-small; font-family: Tahoma;"><span style="font-size: 10pt; font-family: Tahoma;"></p>
<div><span style="font-size: x-small; color: #0000ff; font-family: Verdana;"><span style="font-size: 10pt; color: #0000ff; font-family: Verdana;">event </span></span><span style="font-size: x-small; color: #010001; font-family: Tahoma;"><span style="font-size: 10pt; color: #010001; font-family: Tahoma;">OnDocumentOpened</span></span><span style="font-size: x-small; color: #000000; font-family: Tahoma;"><span style="font-size: 10pt; color: #000000; font-family: Tahoma;">()</span></span><span style="font-size: small;"></p>
<div><span style="font-size: 12pt"> </span></div>
<p></span></div>
<p> </p>
<div><span style="font-size: x-small; font-family: Tahoma;"><span style="font-size: 10pt; font-family: Tahoma;">{</span></span><span style="font-size: small;"></p>
<div><span style="font-size: 12pt"> </span></div>
<p></span></div>
<p> </p>
<div><span style="font-size: x-small; font-family: Tahoma;"><span style="font-size: 10pt; font-family: Tahoma;">m_bDirty = false;</span></span><span style="font-size: small;"></p>
<div><span style="font-size: 12pt"> </span></div>
<p></span></div>
<p> </p>
<div>
<p class="MsoNormal" style="text-align: left" align="left"><span style="font-size: x-small; font-family: Tahoma;"><span style="font-size: 10pt; font-family: Tahoma;">}</span></span></p>
<p class="MsoNormal" style="text-align: left" align="left"><span style="font-size: x-small; font-family: Tahoma;"><span style="font-size: 10pt; font-family: Tahoma;">function UploadFile()</span></span></p>
<p class="MsoNormal" style="text-align: left" align="left"><span style="font-size: x-small; font-family: Tahoma;"><span style="font-size: 10pt; font-family: Tahoma;">{</span></span></p>
<p class="MsoNormal" style="text-align: left" align="left"><span style="font-size: x-small; font-family: Tahoma;"><span style="font-size: 10pt; font-family: Tahoma;">&#8230;&#8230;</span></span></p>
<p class="MsoNormal" style="text-align: left" align="left"><span style="font-size: x-small; font-family: Tahoma;"><span style="font-size: 10pt; font-family: Tahoma;">m_bDirty = False;</span></span></p>
<p class="MsoNormal" style="text-align: left" align="left"><span style="font-size: x-small; font-family: Tahoma;"><span style="font-size: 10pt; font-family: Tahoma;">}</span></span></p>
</div>
<p> </p>
<p></span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ocxt.com/archives/49/feed</wfw:commentRss>
		</item>
		<item>
		<title>Play slideshow in the same window</title>
		<link>http://www.ocxt.com/archives/47</link>
		<comments>http://www.ocxt.com/archives/47#comments</comments>
		<pubDate>Mon, 23 Jun 2008 04:45:26 +0000</pubDate>
		<dc:creator>office viewer</dc:creator>
		
		<category><![CDATA[Office Automation]]></category>

		<guid isPermaLink="false">http://www.ocxt.com/archives/47</guid>
		<description><![CDATA[Edraw Office Viewer Component provides a solution for opening then playing the slideshow file in the same window. Of course you can play it with full screen mode too.
Simply call the &#8220;SlideShowOpenAndPlay&#8221; method, you can get the follow effect immediately.

You can show or hide the titlebar, screenbar, toolbar too.
You can call it via javascript or vbscript [...]]]></description>
			<content:encoded><![CDATA[<p>Edraw Office Viewer Component provides a solution for opening then playing the slideshow file in the same window. Of course you can play it with full screen mode too.</p>
<p>Simply call the &#8220;SlideShowOpenAndPlay&#8221; method, you can get the follow effect immediately.</p>
<p><img title="PowerPoint Viewer ActiveX Control" src="http://www.ocxt.com/images/pptslide500.gif" alt="PowerPoint Viewer ActiveX Control" /></p>
<p>You can show or hide the titlebar, screenbar, toolbar too.</p>
<p>You can call it via javascript or vbscript in your html page as follow.</p>
<p>document.OA1.SlideShowOpenAndPlay(&#8221;<a href="http://www.ocxt.com/demo/samples/sample.ppt">http://www.ocxt.com/demo/samples/sample.ppt</a>&#8220;, false, false, false, false);</p>
<p>OR:</p>
<p>OA1.Open(&#8221;<a href="http://www..../sample.pps">http://www&#8230;./sample.pps</a>&#8220;, &#8220;PowerPoint.Slide&#8221;);</p>
<p>OA1.SlideShowPlay(false, false, true, false);</p>
<p>[id(99), helpstring("Opens then plays the PowerPoint slide show file in the same window or full screen.")]<br />
HRESULT SlideShowOpenAndPlay([in] VARIANT Document, [in] VARIANT_BOOL bFullScreen, [in] VARIANT_BOOL bShowWebToolbar, [in] VARIANT_BOOL bLoopUntilStopped, [in] VARIANT_BOOL bShowScrollBar, [in, optional] VARIANT WebUsername, [in, optional] VARIANT WebPassword);</p>
<p>[id(100), helpstring("Plays the PowerPoint slide show file in the same window or full screen.")]<br />
HRESULT SlideShowPlay([in] VARIANT_BOOL bFullScreen, [in] VARIANT_BOOL bShowWebToolbar, [in] VARIANT_BOOL bLoopUntilStopped, [in] VARIANT_BOOL bShowScrollBar);</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ocxt.com/archives/47/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to disable the file command buttons</title>
		<link>http://www.ocxt.com/archives/46</link>
		<comments>http://www.ocxt.com/archives/46#comments</comments>
		<pubDate>Sat, 23 Feb 2008 03:59:32 +0000</pubDate>
		<dc:creator>office viewer</dc:creator>
		
		<category><![CDATA[Tech Support]]></category>

		<guid isPermaLink="false">http://www.ocxt.com/archives/46</guid>
		<description><![CDATA[The Office Viewer Component provides the method &#8220;EnableFileCommand&#8221; to allow the developers to disable the File command in the MS office program.
If you are developing a web application, you can set the initial functions in the &#8220;NotifyCtrlReady&#8221; event.
function OA1_NotifyCtrlReady() {
document.OA1.EnableFileCommand(0) = false; //FileNew = 0
}
&#60;SCRIPT LANGUAGE=javascript FOR=OA1 EVENT=NotifyCtrlReady&#62;
&#60;!&#8211;
OA1_NotifyCtrlReady();
//&#8211;&#62;
&#60;/SCRIPT&#62;
More File Command ENUMS:
typedef enum FileCommandType
{
FileNew = 0,
FileOpen,
FileClose,
FileSave,
FileSaveAs,
FilePrint,
FilePageSetup,
FileProperties,
FilePrintPreview
} FileCommandType;
]]></description>
			<content:encoded><![CDATA[<p>The Office Viewer Component provides the method &#8220;EnableFileCommand&#8221; to allow the developers to disable the File command in the MS office program.</p>
<p>If you are developing a web application, you can set the initial functions in the &#8220;NotifyCtrlReady&#8221; event.</p>
<p>function OA1_NotifyCtrlReady() {<br />
document.OA1.EnableFileCommand(0) = false; //FileNew = 0<br />
}<br />
&lt;SCRIPT LANGUAGE=javascript FOR=OA1 EVENT=NotifyCtrlReady&gt;<br />
&lt;!&#8211;<br />
OA1_NotifyCtrlReady();<br />
//&#8211;&gt;<br />
&lt;/SCRIPT&gt;</p>
<p>More File Command ENUMS:</p>
<p>typedef enum FileCommandType<br />
{<br />
FileNew = 0,<br />
FileOpen,<br />
FileClose,<br />
FileSave,<br />
FileSaveAs,<br />
FilePrint,<br />
FilePageSetup,<br />
FileProperties,<br />
FilePrintPreview<br />
} FileCommandType;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ocxt.com/archives/46/feed</wfw:commentRss>
		</item>
		<item>
		<title>Edraw Office Viewer Component 5.3.407 Released</title>
		<link>http://www.ocxt.com/archives/48</link>
		<comments>http://www.ocxt.com/archives/48#comments</comments>
		<pubDate>Sat, 09 Feb 2008 03:38:42 +0000</pubDate>
		<dc:creator>office viewer</dc:creator>
		
		<category><![CDATA[Press Release]]></category>

		<guid isPermaLink="false">http://www.ocxt.com/archives/48</guid>
		<description><![CDATA[5.3.407.1 version is a maintenance update.
1. Provided the silent print for the MS office document.
2. Added WordGetCurrentPageIndex and WordGetTotalPageCounts to return the current page number and page counts in Word document. 
3. The ExcelGetCellValue won&#8217;t returns null when the date is numeric;
4. Supported to open an Office 2007 file from the remote server with the &#8220;Open&#8221; method directly.
5.3.288.1
1. Fixed the buffer overflow to execute arbitrary [...]]]></description>
			<content:encoded><![CDATA[<p>5.3.407.1 version is a maintenance update.</p>
<p>1. Provided the silent print for the MS office document.</p>
<p>2. Added WordGetCurrentPageIndex and WordGetTotalPageCounts to return the current page number and page counts in Word document. </p>
<p>3. The ExcelGetCellValue won&#8217;t returns null when the date is numeric;</p>
<p>4. Supported to open an Office 2007 file from the remote server with the &#8220;Open&#8221; method directly.</p>
<p>5.3.288.1</p>
<p>1. Fixed the buffer overflow to execute arbitrary code via a long first argument to the HttpDownloadFileToTempDir method and FTPDownloadFile.</p>
<p>2. Solved the failture when saving an Excel document to the server and having a cell activated.</p>
<p>3. Removed the default overwrite reminder from Microsoft Excel if you save an open Excel file at the same position multiple times.</p>
<p>4. Solved: Return to the first page if you click the Document Map in a protected Microsoft Word document</p>
<p>5. Solved: The excel process keeps back when call the &#8220;OfficeProtectDocument&#8221; method.</p>
<p>6. Some other small improvements.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ocxt.com/archives/48/feed</wfw:commentRss>
		</item>
		<item>
		<title>Pass optional parameters when you call a function in Visual C++</title>
		<link>http://www.ocxt.com/archives/102</link>
		<comments>http://www.ocxt.com/archives/102#comments</comments>
		<pubDate>Thu, 03 Jan 2008 11:20:48 +0000</pubDate>
		<dc:creator>office viewer</dc:creator>
		
		<category><![CDATA[Tech Support]]></category>

		<guid isPermaLink="false">http://www.ocxt.com/?p=102</guid>
		<description><![CDATA[When you call a method that has optional parameters from Visual C++, you cannot omit the optional parameters. You need to pass a special VARIANT instead.
Some methods have &#8220;optional&#8221; parameters. In Visual Basic, you can omit them when calling the method. However, when calling with Visual C++, you have to pass a special VARIANT whose [...]]]></description>
			<content:encoded><![CDATA[<p>When you call a method that has optional parameters from Visual C++, you cannot omit the optional parameters. You need to pass a special VARIANT instead.</p>
<p>Some methods have &#8220;optional&#8221; parameters. In Visual Basic, you can omit them when calling the method. However, when calling with Visual C++, you have to pass a special VARIANT whose .vt field has the value VT_ERROR and .scode field has the value DISP_E_PARAMNOTFOUND. That is:</p>
<p>VARIANT varOpt;<br />
varOpt.vt = VT_ERROR;<br />
varOpt.scode = DISP_E_PARAMNOTFOUND;<br />
OfficeViewer1.OfficeProtectDocument(varOpt);</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ocxt.com/archives/102/feed</wfw:commentRss>
		</item>
		<item>
		<title>Hide the Office ActiveX Control in Runtime</title>
		<link>http://www.ocxt.com/archives/45</link>
		<comments>http://www.ocxt.com/archives/45#comments</comments>
		<pubDate>Thu, 03 Jan 2008 03:48:37 +0000</pubDate>
		<dc:creator>office viewer</dc:creator>
		
		<category><![CDATA[Tech Support]]></category>

		<guid isPermaLink="false">http://www.ocxt.com/archives/45</guid>
		<description><![CDATA[If you would like to hide the EDraw Office Viewer ActiveX Control in runtime, you need call the &#8220;OfficeObjectVisable&#8221; method.
For example: axOfficeViewer1.OfficeObjectVisable = false;
The follow code will lead to an error in C#.
axOfficeViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
axOfficeViewer2.Visible = false;
axOfficeViewer3.Visible = false;
]]></description>
			<content:encoded><![CDATA[<p>If you would like to hide the EDraw Office Viewer ActiveX Control in runtime, you need call the &#8220;OfficeObjectVisable&#8221; method.</p>
<p>For example: axOfficeViewer1.OfficeObjectVisable = false;</p>
<p>The follow code will lead to an error in C#.</p>
<p>axOfficeViewer1.Dock = System.Windows.Forms.DockStyle.Fill;<br />
axOfficeViewer2.Visible = false;<br />
axOfficeViewer3.Visible = false;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ocxt.com/archives/45/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
