<?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: Guide/Recommendations - IP2003 and support Apps</title><link>https://www.infopathdev.com:443/forums/thread/78226.aspx</link><pubDate>Wed, 02 May 2012 10:28:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78226</guid><dc:creator>DeanS</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78226.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78226</wfw:commentRss><description>&lt;p&gt;Yep, makes perfect sense.&amp;nbsp; Clearly flogging a dead horse here trying to get 2003 working.&amp;nbsp; I will push the IT guys see if we can get an upgrade to 2007/10.&amp;nbsp; Otherwise, need to find another way for IP2003 to interface with SharePoint lists.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Many thanks for your help Hilary.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;D&lt;/p&gt;</description></item><item><title>Re: Guide/Recommendations - IP2003 and support Apps</title><link>https://www.infopathdev.com:443/forums/thread/78198.aspx</link><pubDate>Tue, 01 May 2012 17:43:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78198</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78198.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78198</wfw:commentRss><description>&lt;p&gt;Well, here&amp;#39;s the thing - input parameters are only available for forms that are using the IP 2007 object model or later. You won&amp;#39;t be able to save as a 2003 format and have input parameters.&lt;/p&gt;</description></item><item><title>Re: Guide/Recommendations - IP2003 and support Apps</title><link>https://www.infopathdev.com:443/forums/thread/78196.aspx</link><pubDate>Tue, 01 May 2012 17:40:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78196</guid><dc:creator>DeanS</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78196.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78196</wfw:commentRss><description>&lt;p&gt;Hi Hilary - no worries re the 2003 goose-chase.&amp;nbsp; I hope others reading this don&amp;#39;t can benefit.&lt;/p&gt;
&lt;p&gt;I think the idea of developing in 2007 and saving in 2003 would be worth looking into.&amp;nbsp; I have requested 2010 as a pilot and this is installed now.&amp;nbsp; So, followed the instructions in your previosuly referenced message from 2008.&amp;nbsp; As such, I created a new blank form in 2010 and added the FormEvents_Loading(object sender, LoadingEventArgs e) code.&amp;nbsp; And saved as 2003 form.&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;blockquote&gt;
&lt;p&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; System;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; Microsoft.Office.Interop.InfoPath.SemiTrust;&lt;/p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;
&lt;p&gt;// Microsoft Office integration attribute. Identifies the startup class for the form. Do not modify.&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;[assembly: System.ComponentModel.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;DescriptionAttribute&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;InfoPathStartupClass, Version=1.0, Class=Form3.FormCode&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)]&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;namespace&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; Form3&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;// The namespace prefixes defined in this attribute must remain synchronized with&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;// those in the form definition file (.xsf).&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;InfoPathNamespace&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;xmlns:my=\&amp;quot;http://schemas.microsoft.com/office/infopath/2003/myXSD/2012-05-01T17:29:03\&amp;quot;&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)]&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;partial&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;class&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;FormCode&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;private&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;XDocument&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; thisXDocument;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;private&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Application&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; thisApplication;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; _Startup(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Application&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; app, &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;XDocument&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; doc)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;thisXDocument = doc;&lt;/p&gt;
&lt;p&gt;thisApplication = app;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;// You can add additional initialization code here.&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; _Shutdown()&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; FormEvents_Loading(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;object&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; sender, LoadingEventArgs e)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;try&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; vDept = e.InputParameters[&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;ID&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;];&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;MessageBox.Show(vDept);&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;//XPathNavigator myNav = CreateNavigator();&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;//myNav.SelectSingleNode(&amp;quot;/my:TestForm/my:Department&amp;quot;, NamespaceManager).SetValue(vDept);&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;catch&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Exception&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ex)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;MessageBox.Show(ex.Message);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/blockquote&gt;&lt;/font&gt;
&lt;p&gt;But, I think i&amp;#39;m missing something in the use / namespace area (sorry, not that hot with C#).&amp;nbsp; As when I build the project I get &amp;quot;The type or namespace name &amp;#39;LoadingEventArgs&amp;#39; could not be found (are you missing a using directive or an assembly reference?)&amp;quot;.&amp;nbsp; If there a simple line that I need to add to fix this?&lt;/p&gt;
&lt;p&gt;Hopefully onto something here!&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Dean&lt;/p&gt;</description></item><item><title>Re: Guide/Recommendations - IP2003 and support Apps</title><link>https://www.infopathdev.com:443/forums/thread/78191.aspx</link><pubDate>Tue, 01 May 2012 16:14:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78191</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78191.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78191</wfw:commentRss><description>&lt;p&gt;Well. Gee. I guess we know who not to listen to. I was totally spacing on the IP 2003 thing. The blog your code sample came from mentions the same thing:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;This blog article discusses a new feature of Microsoft InfoPath 2007 that makes it possible to pass data into an InfoPath form at load time&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;And now that you mention it - nope, I&amp;#39;ve not done this with an IP 2003 form - it just isn&amp;#39;t possible, to the best of my knowledge. Sorry for the wild goose chase!&lt;/p&gt;</description></item><item><title>Re: Guide/Recommendations - IP2003 and support Apps</title><link>https://www.infopathdev.com:443/forums/thread/78190.aspx</link><pubDate>Tue, 01 May 2012 16:07:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78190</guid><dc:creator>DeanS</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78190.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78190</wfw:commentRss><description>&lt;p&gt;Hi Hilary.&lt;/p&gt;
&lt;p&gt;To confirm, neither command line nor URL are working.&amp;nbsp; And retested with lower case.&amp;nbsp; Alas ditto (same error).&lt;/p&gt;
&lt;p&gt;I have just been exploring further, and found a post from your good self back in 2008 saying &amp;quot;Parameters are new for IP 2007 and don&amp;#39;t work with IP 2003 or the IP 2003 object model.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/p/13370/47443.aspx"&gt;http://www.infopathdev.com/forums/p/13370/47443.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s all rather confusing as the InfoPath blog provides &amp;quot;legacy&amp;quot; code for 2003.&amp;nbsp; This is the code that I used (I&amp;#39;m on IP2003 SP3).&amp;nbsp; Have you managed to pass parameters to 2003?&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;</description></item><item><title>Re: Guide/Recommendations - IP2003 and support Apps</title><link>https://www.infopathdev.com:443/forums/thread/78186.aspx</link><pubDate>Tue, 01 May 2012 15:53:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78186</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78186.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78186</wfw:commentRss><description>&lt;p&gt;I should add - you can use IP 2007 to design IP 2003 forms. Only you would need IP 2007 installed. Your form users could continue with IP 2003.&lt;/p&gt;</description></item><item><title>Re: Guide/Recommendations - IP2003 and support Apps</title><link>https://www.infopathdev.com:443/forums/thread/78185.aspx</link><pubDate>Tue, 01 May 2012 15:52:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78185</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78185.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78185</wfw:commentRss><description>&lt;p&gt;Are either approaches working? That is, are you failing with command line? Try using lower case for your parameter, both in your code and your URL.&lt;/p&gt;</description></item><item><title>Re: Guide/Recommendations - IP2003 and support Apps</title><link>https://www.infopathdev.com:443/forums/thread/78184.aspx</link><pubDate>Tue, 01 May 2012 15:33:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78184</guid><dc:creator>DeanS</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78184.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78184</wfw:commentRss><description>&lt;p&gt;Thank you for your reply Hilary.&lt;/p&gt;
&lt;p&gt;The exact error message is:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;#39;XDocument.InputParameters.ID&amp;#39; is null or not an object.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The JScript to test this (as per blog):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;function XDocument::OnLoad(eventObj)&lt;br /&gt;{&lt;br /&gt;var idValue = eventObj.XDocument.InputParameters[&amp;quot;ID&amp;quot;].Value;&lt;br /&gt;eventObj.XDocument.UI.Alert(idValue);&lt;br /&gt;}&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;And, the URL and CommandLine commands are (the URL points to the file on a share currenty):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a&gt;file:///U:/02.%20P&amp;amp;MB/SharePoint/TE_FeeRecovery/FeeRecoverySAF%20(v01).xsn?ID=10&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;quot;U:\02. P&amp;amp;MB\SharePoint\TE_FeeRecovery\FeeRecoverySAF (v01).xsn&amp;quot; /InputParameters &amp;quot;ID=10&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;We currently only have IP2003 installed.&amp;nbsp; I have contacted IT to look at deploying IP2007, but will need to be distributed to a dept of 60 people, is currently unapproved, so may take some time.&lt;/p&gt;
&lt;p&gt;I am encouraged that you pass parameters all the time.&amp;nbsp; It feels like something that should be possible / easy.&amp;nbsp; But, using the JScript from the blog and the URL above doesn&amp;#39;t seem to work.&amp;nbsp; Any tips / recommentations / things to try would be greatly welcome.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Regards,&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Guide/Recommendations - IP2003 and support Apps</title><link>https://www.infopathdev.com:443/forums/thread/78178.aspx</link><pubDate>Tue, 01 May 2012 14:48:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78178</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78178.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78178</wfw:commentRss><description>&lt;p&gt;Hi - what&amp;#39;s the error?&lt;/p&gt;
&lt;p&gt;Visual Studio 2005 can be used with InfoPath 2003 or 2007 projects for adding managed code&amp;nbsp;- I believe VS 2008 can also be used.&lt;/p&gt;
&lt;p&gt;If you have InfoPath 2007 installed, you can use VSTA for managed code development - I think even with the IP 2003 OM (sorry, it has been awhile - I&amp;#39;ve been using IP 2010 for a while now).&lt;/p&gt;
&lt;p&gt;It is not impossible to pass input params via URL - I do it all the time. :-) &lt;/p&gt;
&lt;p&gt;What does your URL look like?&lt;/p&gt;</description></item><item><title>Guide/Recommendations - IP2003 and support Apps</title><link>https://www.infopathdev.com:443/forums/thread/78164.aspx</link><pubDate>Tue, 01 May 2012 10:27:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78164</guid><dc:creator>DeanS</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78164.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78164</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m new to Infopath, although an experienced SharePoint / developer with good knowledge of VB / Java / HTML etc.&amp;nbsp; My client has IP2003 installed and uses SharePoint 2007.&amp;nbsp; I&amp;#39;m trying to set up a form in IP2003 to edit List data in stored in SP.&amp;nbsp; One approach I&amp;#39;m exploring is to pass the List ID from Sharepoint to Infopath via a URL using input parameters (link below).&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/infopath/archive/2007/02/26/passing-data-into-a-form-input-parameters.aspx"&gt;http://blogs.msdn.com/b/infopath/archive/2007/02/26/passing-data-into-a-form-input-parameters.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But, the Jscript code in the above (repeated below) returns an error:&lt;/p&gt;
&lt;p&gt;function XDocument::OnLoad(eventObj)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var bazValue = eventObj.XDocument.InputParameters[&amp;quot;baz&amp;quot;].Value;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eventObj.XDocument.UI.Alert(bazValue);&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Within the MS blog, there is also C# code to do the same thing.&amp;nbsp; But I can only see Jscript and VB as possible languages in the Infopath install we have.&amp;nbsp; My questions are thus:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;What development tools should I request in addition to InfoPath?&amp;nbsp; I guess Visual Studio and possibly the Infopath SDK.&amp;nbsp; But can somebody advise on the versions that I should use (for IP2003/SP2007 which allows C#, Java, etc...)?&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;There is mixed feedback on passing parameters to IP2003 using a URL.&amp;nbsp; Has anybody got this working?&amp;nbsp; Any tips or is this just impossible?&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Many thanks in advance for any quidance you can provide.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Best regards,&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;</description></item></channel></rss>