<?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: Jscript error: permission denied</title><link>https://www.infopathdev.com:443/forums/thread/57051.aspx</link><pubDate>Sat, 17 Jul 2010 13:26:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57051</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57051.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=57051</wfw:commentRss><description>&lt;p&gt;Cheat - try jScript sendKeys to send &amp;#39;^p&amp;#39; and &amp;#39;^s&amp;#39; (Ctrl+P and Ctrl+S). Doesn&amp;#39;t require fulltrust (from what my experience has been).&lt;/p&gt;
&lt;p&gt;Note that Ctrl+S might not do anything if no changes has occured in the form - maybe your could do something with a &amp;#39;XDocument.isDirty()&amp;#39; check.&lt;/p&gt;</description></item><item><title>Jscript error: permission denied</title><link>https://www.infopathdev.com:443/forums/thread/55895.aspx</link><pubDate>Tue, 15 Jun 2010 18:18:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55895</guid><dc:creator>JoelW</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55895.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=55895</wfw:commentRss><description>&lt;p&gt;I hope this question is in the right place.&amp;nbsp; I&amp;#39;m having a problem with something that should be very simple.&amp;nbsp; I have a form that needs two buttons, one&amp;nbsp;to&amp;nbsp;&amp;quot;Print&amp;quot; and another&amp;nbsp;to &amp;quot;Save&amp;quot;.&amp;nbsp; &amp;nbsp;I&amp;#39;ve added what I believe to be the correct jscript code for each button but they both give me the same error message when I click them: &amp;quot;The following error occurred: Permission denied.&amp;quot;&amp;nbsp; The form is fully trusted so I don&amp;#39;t believe that&amp;#39;s the issue, and I copied the code for the buttons from another functioning form that uses the same buttons.&amp;nbsp; Am I missing something?&amp;nbsp; &lt;/p&gt;</description></item></channel></rss>