<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Microsoft Technology, .Net, BizTalk, Sharepoint &#38; etc. &#187; InfoPath</title>
	<atom:link href="http://littletalk.wordpress.com/tag/infopath/feed/" rel="self" type="application/rss+xml" />
	<link>http://littletalk.wordpress.com</link>
	<description>Liedong(Ken) Zheng, Senior SharePoint Developer at SIMPLOT</description>
	<lastBuildDate>Tue, 22 Dec 2009 23:44:56 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='littletalk.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/273a2ea2429a815e9b5d08a05fc38987?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Microsoft Technology, .Net, BizTalk, Sharepoint &#38; etc. &#187; InfoPath</title>
		<link>http://littletalk.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://littletalk.wordpress.com/osd.xml" title="Microsoft Technology, .Net, BizTalk, Sharepoint &amp; etc." />
		<item>
		<title>Inserting line breaks into text using Rules in InfoPath</title>
		<link>http://littletalk.wordpress.com/2009/12/14/inserting-line-breaks-into-text-using-rules-in-infopath/</link>
		<comments>http://littletalk.wordpress.com/2009/12/14/inserting-line-breaks-into-text-using-rules-in-infopath/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 03:38:08 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[InfoPath]]></category>
		<category><![CDATA[Line Breaks]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=761</guid>
		<description><![CDATA[If you are using solution from http://blogs.msdn.com/infopath/archive/2005/03/04/385577.aspx. You need to make sure that your textbox is formatted to be able to display paragraph breaks. To do this double-click on the text box control, go to the Display tab, and check the checkbox labeled &#8220;Allow paragraph breaks&#8221;.
After this, your code should work, but if it still [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=761&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you are using solution from <a href="http://blogs.msdn.com/infopath/archive/2005/03/04/385577.aspx">http://blogs.msdn.com/infopath/archive/2005/03/04/385577.aspx</a>. You need to make sure that your textbox is formatted to be able to display paragraph breaks. To do this double-click on the text box control, go to the Display tab, and check the checkbox labeled &#8220;Allow paragraph breaks&#8221;.</p>
<p>After this, your code should work, but if it still doesn&#8217;t try using &#8220;\n&#8221; instead of the System.Environment.Newline.</p>
<p>There is another way to do that.<br />
<a href="http://www.infopathdev.com/forums/t/2013.aspx">http://www.infopathdev.com/forums/t/2013.aspx</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/761/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=761&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/12/14/inserting-line-breaks-into-text-using-rules-in-infopath/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>How to programmatically retrieve selected items in a Multiple-Selection list box in InfoPath</title>
		<link>http://littletalk.wordpress.com/2009/11/17/how-to-programmatically-retrieve-selected-items-in-a-multiple-selection-list-box-in-infopath/</link>
		<comments>http://littletalk.wordpress.com/2009/11/17/how-to-programmatically-retrieve-selected-items-in-a-multiple-selection-list-box-in-infopath/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 00:58:25 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[InfoPath]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=739</guid>
		<description><![CDATA[Quite often you will need to get selected values from a  Multiple-Selection list box to a field. I haven&#8217;t found a way to do in rules but the following code will solve the problem.
Suppose you have a Multiple-Selection List Box named myListBox on an InfoPath form and an after change event to fill a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=739&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Quite often you will need to get selected values from a  Multiple-Selection list box to a field. I haven&#8217;t found a way to do in rules but the following code will solve the problem.</p>
<p>Suppose you have a Multiple-Selection List Box named myListBox on an InfoPath form and an after change event to fill a Text Box named myTextBox with the values or display names of the items that were selected in the Multiple-Selection List Box.</p>
<p><strong>Retrieving the values of selected items</strong><br />
You could use the following C# code to retrieve the values that were selected:</p>
<pre class="brush: csharp;">
        public void field13_Changed(object sender, XmlEventArgs e)
        {
            XPathNavigator root = MainDataSource.CreateNavigator();
            XPathNodeIterator iter = root.Select(&quot;//my:myListBox &quot;,
              NamespaceManager);

            System.Text.StringBuilder sb = new System.Text.StringBuilder();

            while (iter.MoveNext())
            {
                string value = iter.Current.Value;
                sb.Append(value);
                if (sb.Length &gt; 0)
                {
                    sb.Append(&quot;;&quot;);
                }
            }

            root.SelectSingleNode(&quot;//my:myTextBox&quot;,
              NamespaceManager).SetValue(sb.ToString());
        }
</pre>
<p><strong><br />
Retrieving the display names of selected items</strong></p>
<p>If you want to retrieve the Display Names of the items that were selected and you’ve bound the Multiple-Selection List Box to a repeating node either in the Main data source or a secondary data source, you’ll have to do a programmatic lookup to retrieve the Display Names.</p>
<p>You could use the following C# code to retrieve the display names of the items that were selected:</p>
<pre class="brush: csharp;">
XPathNavigator root = MainDataSource.CreateNavigator();
XPathNodeIterator iter = root.Select(&quot;//my:myListBox&quot;,
  NamespaceManager);

System.Text.StringBuilder sb = new System.Text.StringBuilder();

while (iter.MoveNext())
{
  string value = iter.Current.Value;

  XPathNavigator secDS = DataSources[&quot;Fruits&quot;].CreateNavigator();
  string displayName = secDS.SelectSingleNode(
    &quot;/dfs:myFields/dfs:dataFields/d:Fruits[@ID = '&quot;
    + value + &quot;']/@Name&quot;, NamespaceManager).Value;

  sb.Append(displayName);
  sb.Append(&quot;;&quot;);
}

root.SelectSingleNode(&quot;//my:myTextBox&quot;,
 NamespaceManager).SetValue(sb.ToString());
</pre>
<p>where Fruits is a secondary data source, @ID the value of an item, and @Name the display name of an item.</p>
<p>Note: You cannot do a lookup for items if you’ve manually entered them into the list box.</p>
<p>More useful code you can find from <a href="http://www.bizsupportonline.net/blog/2009/03/programmatically-retrieve-selected-items-multiple-selection-list-box-infopath/">http://www.bizsupportonline.net/blog/2009/03/programmatically-retrieve-selected-items-multiple-selection-list-box-infopath/</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/739/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/739/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/739/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/739/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/739/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=739&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/11/17/how-to-programmatically-retrieve-selected-items-in-a-multiple-selection-list-box-in-infopath/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>Get Count from SharePoint List for InfoPath</title>
		<link>http://littletalk.wordpress.com/2009/04/03/get-count-from-sharepoint-list-for-infopath/</link>
		<comments>http://littletalk.wordpress.com/2009/04/03/get-count-from-sharepoint-list-for-infopath/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 05:13:59 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[InfoPath]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=566</guid>
		<description><![CDATA[I always be asked to get a Numberic Id for new infopath form. Instead of writing code in Form, I created a Web Service which will go to the SharePoint List, grab the number and increment by 1, then update the list. By doing that, you can set rule in your Form Submit Button without [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=566&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I always be asked to get a Numberic Id for new infopath form. Instead of writing code in Form, I created a Web Service which will go to the SharePoint List, grab the number and increment by 1, then update the list. By doing that, you can set rule in your Form Submit Button without code required.<br />
Below is the code</p>
<pre class="brush: csharp;">
[WebMethod]
        public int GetAndIncrementCount(string ListUrl, string CountName)
        {
            int count = 0;

            SPWeb oSPWeb = null;
            try
            {
                SPSecurity.RunWithElevatedPrivileges(delegate()
                {
                    using (SPSite oSPSite = new SPSite(ListUrl))
                    {
                        oSPWeb = oSPSite.OpenWeb(ListUrl.Substring(ListUrl.IndexOf(&quot;/&quot;) + 1));
                    }
                });
                SPList oSPList = oSPWeb.GetList(ListUrl);

                if (oSPList != null)
                {
                    oSPWeb.AllowUnsafeUpdates = true;
                    SPListItemCollection items = oSPList.Items;
                    if (items.Count &gt; 0)
                    {
                        SPListItem item = items[0];
                        count = int.Parse(item[CountName].ToString()) + 1;
                        item[CountName] = count;
                        item.Update();
                    }
                }
            }
            catch (Exception exception)
            {
                Log.WriteLogEvent(string.Format(&quot;An Error Occured In GetAndIncrementCount Method | Exception Message:{0} StackTrace: {1}&quot;, exception.Message, exception.StackTrace));
            }
            finally
            {
                oSPWeb.Dispose();
            }
            return count;
        }
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/566/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/566/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/566/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/566/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/566/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/566/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/566/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/566/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/566/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/566/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=566&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/04/03/get-count-from-sharepoint-list-for-infopath/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>Close InfoPath Forms Services form using Code</title>
		<link>http://littletalk.wordpress.com/2009/02/24/close-infopath-forms-services-form-using-code/</link>
		<comments>http://littletalk.wordpress.com/2009/02/24/close-infopath-forms-services-form-using-code/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 05:47:23 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[InfoPath]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=554</guid>
		<description><![CDATA[I was working on a way to close an InfoPath form using C# or VB.NET from the form code-behind after the user submits the form. The steps below help in running some custom code to save the data and then close the form.
Here are the steps to close the Form
    * Set [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=554&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was working on a way to close an InfoPath form using C# or VB.NET from the form code-behind after the user submits the form. The steps below help in running some custom code to save the data and then close the form.</p>
<p>Here are the steps to close the Form</p>
<p>    * Set the Submit Action[Tools-&gt;Submit Options] within InfoPath for the form to “Perform custom action using Code” . Click the Edit Code option to submit the form using code<br />
    * Set the After Submit option under Advanced to “Close the Form”</p>
<p>Click the Edit Code button next to the perform custom action to submit the data. Editing the code adds an handler for the Form Submit event and a FormEvents_Submit method is created in the code behind. Once the code completes the submission, set the CancelableArgs.Cancel property of the SubmitEventArgs to false.</p>
<p>Here is a sample FormEvents Submit method</p>
<p>In the SubmitConnection method, I retrieve the required data connection and call the execute method for submission</p>
<p>Dim fileSubmit as FileSubmitConnection = CType(Me.Connections(”SharePoint Save”),Microsoft.Office.InfoPath.FileSubmitConnection)</p>
<p>fileSubmit.Execute()</p>
<p>In the above sample, the data connection that I want to use for Submit is named “SharePoint Save”. I typecast it as a FileSubmitConnection.</p>
<p>I found this solution on one of the forum posts</p>
<p>http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2605818&amp;SiteID=17</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/554/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/554/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/554/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/554/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/554/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=554&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/02/24/close-infopath-forms-services-form-using-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>Infopath error: &#8220;The required version of the Microsoft .NET Framework is not installed on your computer or the InfoPath Primary Interop Assembly (PIA) is not registered&#8221;</title>
		<link>http://littletalk.wordpress.com/2009/02/06/infopath-error-the-required-version-of-the-microsoft-net-framework-is-not-installed-on-your-computer-or-the-infopath-primary-interop-assembly-pia-is-not-registered/</link>
		<comments>http://littletalk.wordpress.com/2009/02/06/infopath-error-the-required-version-of-the-microsoft-net-framework-is-not-installed-on-your-computer-or-the-infopath-primary-interop-assembly-pia-is-not-registered/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 05:37:40 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[InfoPath]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=544</guid>
		<description><![CDATA[Issue
User get’s a listed below error when opening a new or existing InfoPath form because of an error in the form&#8217;s code
Error
“The required version of the Microsoft .NET Framework is not installed on your computer or the InfoPath Primary Interop Assembly (PIA) is not registered. Use Add or Remove Programs in Control Panel to make [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=544&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Issue</strong></p>
<p>User get’s a listed below error when opening a new or existing InfoPath form because of an error in the form&#8217;s code</p>
<p><strong>Error</strong><br />
“The required version of the Microsoft .NET Framework is not installed on your computer or the InfoPath Primary Interop Assembly (PIA) is not registered. Use Add or Remove Programs in Control Panel to make sure that the required version of the Microsoft .NET Framework is installed. Or install it using Windows Update and run the Setup program again to confirm that the corresponding version of the .NET Programmability Support is installed, or contact your system administrator.”<br />
Cause\Resolution</p>
<p>As the error message suggests either the Microsoft .NET Framework or the InfoPath Primary Interop Assembly (PIA) is not installed. If Microsoft .NET framework is not present on the system then this will need to be installed. If the user does not have the .NET Framework already installed (when installing Office 2007) then PIAs will not be installed. Additionally, the option to install the PIAs doesn&#8217;t show up in the Custom setup for Office. If the user does a complete install of Office 2007, then PIAs will get installed into the GAC automatically. It&#8217;s strongly recommended that a complete install of Office 2007 be performed.</p>
<p>If .Net Framework is installed after installing Office 2007, then PIA does not get installed automatically and this can to be installed by following the steps listed below</p>
<p><em>1. Go to &#8216;Add or Remove Programs&#8230;&#8217;<br />
2. Select the Microsoft Office 2007 installation and click on change.<br />
3. Select “Add or remove features” and click Continue.<br />
4. Expand the “Microsoft Office InfoPath” and “.NET Programmability Support” node. Add the &#8216;.NET programmability support’. To add, right click on the node and select “Run from my computer”. Press continue and follow the on screen instructions to complete the setup.</em></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/544/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=544&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/02/06/infopath-error-the-required-version-of-the-microsoft-net-framework-is-not-installed-on-your-computer-or-the-infopath-primary-interop-assembly-pia-is-not-registered/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>Clear InfoPath Form Cache in Local Computer</title>
		<link>http://littletalk.wordpress.com/2009/01/12/clear-infopath-form-cache-in-local-computer/</link>
		<comments>http://littletalk.wordpress.com/2009/01/12/clear-infopath-form-cache-in-local-computer/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 22:55:50 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[InfoPath]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=512</guid>
		<description><![CDATA[When loading an InfoPath form from an intranet/Sharepoint etc, the form template is downloaded and cached locally. Sometimes after the template has been upgraded on the server the local client doesn’t always get the upgraded form template but uses the local cached copy instead.
You can rectify this by clearing the local cache from Start -&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=512&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When loading an InfoPath form from an intranet/Sharepoint etc, the form template is downloaded and cached locally. Sometimes after the template has been upgraded on the server the local client doesn’t always get the upgraded form template but uses the local cached copy instead.</p>
<p>You can rectify this by clearing the local cache from Start -&gt; Run;</p>
<p>    Infopath /cache clearall<br />
or VB Script</p>
<p>Dim wshShell<br />
Dim sRun, sParam, sMsg</p>
<p>sParam = &#8220;C:\Program Files\Microsoft Office\OFFICE11\INFOPATH.EXE /cache clearall&#8221;<br />
Set wshShell = Createobject(&#8220;WScript.Shell&#8221;)</p>
<p>wshShell.Exec sParam</p>
<p>Set wshShell = Nothing</p>
<p>Verify that the cache has been cleared by navigating to the following folder for XP+</p>
<p>    C:\Documents and Settings\[User]\Local Settings\Application Data\Microsoft\InfoPath\FormCache2</p>
<p>Or for Vista;</p>
<p>    C:\Users\[User]\AppData\Local\Microsoft\InfoPath\FormCache2</p>
<p>Underneath the FormCache2 folder there will be a folder with a GUID name, check inside here, it should be empty, apart from a file called _SCVer.dat.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/512/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=512&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/01/12/clear-infopath-form-cache-in-local-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>Replace Text in InfoPath XML file</title>
		<link>http://littletalk.wordpress.com/2008/12/12/replace-text-in-infopath-xml-file/</link>
		<comments>http://littletalk.wordpress.com/2008/12/12/replace-text-in-infopath-xml-file/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 03:39:39 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[InfoPath]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=467</guid>
		<description><![CDATA[I have an interesting problem when trying to update an InfoPath Form Data. If I use XMLDOCUMNET and node to update the xml file. I got problem to load the data. So I have to use
            StreamReader sr = new StreamReader(filename);
    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=467&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have an interesting problem when trying to update an InfoPath Form Data. If I use XMLDOCUMNET and node to update the xml file. I got problem to load the data. So I have to use</p>
<p><code>            StreamReader sr = new StreamReader(filename);<br />
            String file = sr.ReadToEnd();<br />
            sr.Close();<br />
            file = file.Replace(oldtext, newtext);<br />
            StreamWriter sw = new StreamWriter(filename);<br />
            sw.Write(file);<br />
            // Close StreamWriter<br />
            sw.Close();</code></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/467/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/467/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/467/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/467/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/467/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=467&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2008/12/12/replace-text-in-infopath-xml-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
	</channel>
</rss>