<?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: Code works on Infopath 2003 but not Infopath 2007</title><link>https://www.infopathdev.com:443/forums/thread/44088.aspx</link><pubDate>Fri, 10 Jul 2009 00:49:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44088</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44088.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=44088</wfw:commentRss><description>&lt;p&gt;Hi J,&lt;/p&gt;
&lt;p&gt;InfoPath 2003 and InfoPath 2007 use different object models. You can&amp;#39;t just copy snippets of code from one to the other and expect it to work. Now, your InfoPath 2003 code will work in InfoPath 2007 assuming the project is not set up to use the new object model. Of course, new projects set up to use the IP2007 OM won&amp;#39;t work at all on IP2003. Forwards compat works but only if you don&amp;#39;t mix and match the OMs. Hope this helps!&lt;/p&gt;</description></item><item><title>Code works on Infopath 2003 but not Infopath 2007</title><link>https://www.infopathdev.com:443/forums/thread/43954.aspx</link><pubDate>Wed, 08 Jul 2009 15:32:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43954</guid><dc:creator>jtownson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43954.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=43954</wfw:commentRss><description>&lt;p&gt;Good Afternoon,&lt;/p&gt;
&lt;p&gt;We have many many infopath forms which have been created on Visual Studio 2003.&amp;nbsp; They work fine with Infopath 2003 but recently a few users have migrated to Infopath 2007.&amp;nbsp; Some of the code on the forms dosen&amp;#39;t seem to be working.&amp;nbsp; An example is that we use some code to hide and approve / reject button - &lt;font size="2"&gt;thisApplication.User.IsUserMemberOf(&lt;/font&gt;&lt;font face="MS Shell Dlg 2" size="2"&gt;&lt;font face="MS Shell Dlg 2" size="2"&gt;&amp;lt;adGroup&amp;gt;).&amp;nbsp; Any ideas why this dosen&amp;#39;t work in 2007?&amp;nbsp; Obviously we could change the form to user the inbuilt User Roles function but there are so many forms it would be too time consuming.&amp;nbsp; Help!?&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="MS Shell Dlg 2" size="2"&gt;&lt;font face="MS Shell Dlg 2" size="2"&gt;&amp;nbsp;Many &lt;/font&gt;&lt;/font&gt;&lt;font face="MS Shell Dlg 2" size="2"&gt;&lt;font face="MS Shell Dlg 2" size="2"&gt;Thanks&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="MS Shell Dlg 2" size="2"&gt;&lt;font face="MS Shell Dlg 2" size="2"&gt;&amp;nbsp;J&lt;/font&gt;&lt;/font&gt;&lt;font face="MS Shell Dlg 2" size="2"&gt;&lt;font face="MS Shell Dlg 2" size="2"&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item></channel></rss>