<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Infopath 2007 / MOSS 2007 Web form</title><link>https://www.infopathdev.com:443/forums/thread/18666.aspx</link><pubDate>Thu, 23 Nov 2006 19:24:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18666</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18666.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18666</wfw:commentRss><description>Hi Mark and welcome to our forum!&lt;br /&gt;Did you try adding it to the OnLoad event handler? I don't think InternalStartup has everything setup yet.</description></item><item><title>Infopath 2007 / MOSS 2007 Web form</title><link>https://www.infopathdev.com:443/forums/thread/18522.aspx</link><pubDate>Wed, 22 Nov 2006 22:23:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18522</guid><dc:creator>Markov</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18522.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18522</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;We are using Infopath 2007 with Visual studio 2005 add-on for office. When the infopath form model is ready, we publish it in the infopath form server of sharepoint 2007 and an approbation of an administrator is requied to activate the model (because it contain managed code). The problem is : when inserting managed asp.net code in the infopath "InternalStartup" event of the "formcode.Vb" file of the infopath model, the sharepoint server make some validations on the model (at the upload) and said that there is an error. Inserting the same code on a button work without problem. Is there another way to execute some managed code every time the forms open when using it in the infopath form server of sharepoint 2007?&lt;br /&gt;&lt;br /&gt;Thank you for your help.&lt;br /&gt;&lt;br /&gt;Mark</description></item></channel></rss>