<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Remove digital signatures programmatically</title><link>https://www.infopathdev.com:443/forums/thread/103769.aspx</link><pubDate>Fri, 28 Aug 2015 17:44:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103769</guid><dc:creator>iAmMortos</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103769.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=103769</wfw:commentRss><description>&lt;p&gt;Does the ForceUpdate function also cause the validation and formatting rules in the InfoPath form to refresh as well? I&amp;#39;m trying to use it after deleting a signature in the code behind, and it doesn&amp;#39;t actually update any of the rules.&lt;/p&gt;&lt;p&gt;Then if I go into the Digital Signatures dialog box in InfoPath and immediately close it, everything updates as it should.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Remove digital signatures programmatically</title><link>https://www.infopathdev.com:443/forums/thread/63277.aspx</link><pubDate>Mon, 17 Jan 2011 16:13:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63277</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63277.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=63277</wfw:commentRss><description>&lt;p&gt;Sounds like you need to force a view update:&lt;/p&gt;
&lt;p&gt;Me.CurrentView.ForceUpdate()&lt;/p&gt;
&lt;p&gt;See: &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.view.forceupdate%28office.11%29.aspx" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.view.forceupdate(office.11).aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Remove digital signatures programmatically</title><link>https://www.infopathdev.com:443/forums/thread/62924.aspx</link><pubDate>Sun, 09 Jan 2011 03:30:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62924</guid><dc:creator>josera</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62924.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=62924</wfw:commentRss><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;According to the documentation, the way to remove the digital signatures is this (in VBScript):&lt;/p&gt;
&lt;p&gt;dim a&lt;/p&gt;
&lt;p&gt;set a = XDocument.SignedDataBlocks(&amp;quot;BuyerSection&amp;quot;).Signatures(0).SignatureBlockXmlNode&lt;/p&gt;
&lt;p&gt;a.parentNode.removeChild(a)&lt;/p&gt;
&lt;p&gt;set a = nothing&lt;/p&gt;
&lt;p&gt;It executes without any warning nor message, but on the screen the data is still locked. Then I select manually &lt;strong&gt;Tools/Digital signatures...&lt;/strong&gt; from the menu and it does not show any digital signature so I close the &lt;strong&gt;Digital signatures&lt;/strong&gt; window and then the data is unlocked on the screen. I don&amp;#39;t know why this is so. Do I have to execute some kind of refresh command? I couldn&amp;#39;t find anything else in the documentation and I tried all the commands that have anything to do with digital signatures but there is no way to complete the unlock on the screen automatically.&lt;/p&gt;
&lt;p&gt;Have any of you found how to complete the removal of the signatures automatically?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Josera&lt;/p&gt;</description></item></channel></rss>