<?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: Resume from onLoad error</title><link>https://www.infopathdev.com:443/forums/thread/14085.aspx</link><pubDate>Thu, 08 Dec 2005 07:11:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14085</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14085.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14085</wfw:commentRss><description>Go to Form Options and set the security to be automatic. Do you have any data connections defined to your local hard drive? If so, I suggest removing them and adding programmatically. One more method would be to create a form from scratch and test it out ... hope this helps! More soon.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Resume from onLoad error</title><link>https://www.infopathdev.com:443/forums/thread/14084.aspx</link><pubDate>Wed, 07 Dec 2005 22:27:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14084</guid><dc:creator>qwer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14084.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14084</wfw:commentRss><description>Sorry Patick could you perhaps direct me on where to implement this try/catch clause? I have placed it in the form's onLoad event but no matter how I wrote it the InfoPath standard error message "form is using your computer resource" still pops up.&lt;br /&gt;&lt;br /&gt;I have a feeling InfoPath checks for the requireFullTrust attribute before reading my code. This meant that I cannot suppress the InfoPath message. Is there a workaround?</description></item><item><title>Re: Resume from onLoad error</title><link>https://www.infopathdev.com:443/forums/thread/14083.aspx</link><pubDate>Tue, 06 Dec 2005 04:41:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14083</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14083.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14083</wfw:commentRss><description>Sure, you can put a try/catch around the section that is accessing the computer resources, parse the exception message and display an alert with the message you want. Of course, this requires C# but it's easy to do.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Resume from onLoad error</title><link>https://www.infopathdev.com:443/forums/thread/12705.aspx</link><pubDate>Mon, 05 Dec 2005 02:34:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12705</guid><dc:creator>qwer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12705.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12705</wfw:commentRss><description>Hi all,&lt;br /&gt;&lt;br /&gt;Does any body know if I can catch an error onLoad and resume with some error handling code? I am assigning full trust to my forms but for people who have not got the forms registered, I want to suppress the infopath message that says "the form is using your computer resources" and just quit the application with a more user-friendly message.</description></item></channel></rss>