﻿<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developers.de/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>VSTO Data Islands allows finer architecture of &amp;quot;Information Worker&amp;quot; applications</title><link />http://developers.de/blogs/damir_dobric/archive/2006/04/13/169.aspx<description>By using of office documents, it is often required to prepare some data for document before the user opens it. This scenario is typical for web application. User goes online and downloads the document. However, immediately before downloading the server</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>re: VSTO Data Islands allows finer architecture of &amp;amp;quot;Information Worker&amp;amp;quot; applications</title><link />http://developers.de/blogs/damir_dobric/archive/2006/04/13/169.aspx#193<pubdate>Wed, 19 Apr 2006 14:33:02 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:193</guid><dc:creator>Damir Dobric</dc:creator><description>Unfortunately you are right Rolf. I have noticed the same behavior. 
&lt;br&gt;The example in my post contains the workaround because of this “strange feature” 
&lt;br&gt;As you can see I also do initialization of cached variables (which
are unfortunately not properties – one more “strange feature”) too.
&lt;br&gt;The code bellow shows how to avoid this behavior.
&lt;br&gt;
&lt;br&gt; &amp;nbsp;private void ThisDocument_Startup(object sender, System.EventArgs e)
&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (Ds == null)
&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Ds = new DataSet(); 
&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;	if (String.IsNullOrEmpty(Name))
&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Name = "-";
&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;
&lt;br&gt;damir dobric&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=193" width="1" height="1"&gt;</description></item><item><title>re: VSTO Data Islands allows finer architecture of &amp;quot;Information Worker&amp;quot; applications</title><link />http://developers.de/blogs/damir_dobric/archive/2006/04/13/169.aspx#192<pubdate>Wed, 19 Apr 2006 13:55:17 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:192</guid><dc:creator>Rolf Nebhuth</dc:creator><description>I have some strange behavior with VSTO&lt;br&gt;&lt;br&gt;I Have definied some variables with the cache attribute in a word application . But in the Server Application I have not filled all of them with data. If I Opened the word document no of the varialbe are filled.&lt;br&gt;&lt;br&gt;The Solution is you must fill all cached variables!!!&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=192" width="1" height="1"&gt;</description></item></channel></rss>