<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to programme in VSTA an InfoPath Forms Services?</title><link>https://www.infopathdev.com:443/forums/thread/26311.aspx</link><pubDate>Fri, 08 Feb 2008 18:25:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26311</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26311.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=26311</wfw:commentRss><description>&lt;p&gt;Unfortunately you really have to &lt;u&gt;rewrite&lt;/u&gt; your code - Forms Services requires you to use C#/VB.NET using new object model.&lt;/p&gt;</description></item><item><title>How to programme in VSTA an InfoPath Forms Services?</title><link>https://www.infopathdev.com:443/forums/thread/26241.aspx</link><pubDate>Thu, 07 Feb 2008 08:43:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26241</guid><dc:creator>Rakel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26241.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=26241</wfw:commentRss><description>&lt;p&gt;Hello to all,&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I hope you can help me because I am in a rather cumbersome mess of which I am not capable of going out. The case is that I have several forms created in Infopath, with differents views,&amp;nbsp;buttons and&amp;nbsp; jscript code&amp;nbsp;associate. The case is that I need to pass these forms to browser-enabled forms&amp;nbsp;to update in SharePoint. Apparently, for make a browser-enabled form, I have to remove the&amp;nbsp;jscript code&amp;nbsp; and pass it to Visual Basic (I choose it better than C#) using VSTA.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Well, I do not have idea on how can I pass the&amp;nbsp;jscript code to Visual Basic. It&amp;#39;s very difficult for me. Here I show you part of the code that I have to transform. If you can help me...you would save my life ... and even my work. ;)&lt;/p&gt;
&lt;p&gt;JScrpt code:&lt;/p&gt;
&lt;p&gt;function control_01::Onclick(eventObj)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XDocument.PrintOut();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var objDataElement = XDocument.DOM.selectSingleNode(&amp;quot;/my:tense&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (objDataElement.getAttribute(&amp;quot;xsi:nil&amp;quot;))&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objDataElement.removeAttribute(&amp;quot;xsi:nil&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;objDataElement.text=&amp;quot;send&amp;quot;;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XDocument.DataAdapters[&amp;quot;view2&amp;quot;].Submit();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XDocument.UI.Alert(&amp;quot;Send&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eventObj.ReturnStatus = true;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;Thanks for your attention. Sorry for my horrible english...I&amp;#39;m trying to learn!!!&lt;/p&gt;</description></item></channel></rss>