<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: insertion code</title><link>https://www.infopathdev.com:443/forums/thread/2007.aspx</link><pubDate>Sat, 22 Apr 2006 17:48:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2007</guid><dc:creator>Stephanie Cantwell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2007.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2007</wfw:commentRss><description>Hi Dpessoa,&lt;br /&gt;&lt;br /&gt;Here is a site that should help you to tranlate your code:&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://www.codeproject.com/csharp/jscriptnet_to_c_.asp&gt;http://www.codeproject.com/csharp/jscriptnet_to_c_.asp&lt;/a&gt;</description></item><item><title>insertion code</title><link>https://www.infopathdev.com:443/forums/thread/1190.aspx</link><pubDate>Thu, 09 Mar 2006 20:10:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1190</guid><dc:creator>dpessoa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1190.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1190</wfw:commentRss><description>first sorry for my bad english. :)&lt;br /&gt;i need to translate this JS insertion code to C#, anyone can help??&lt;br /&gt;&lt;br /&gt;var objXmlHttp = new ActiveXObject("MSXML2.XMLHTTP.5.0");&lt;br /&gt;objXmlHttp.Open("HEAD", strUrl, false);&lt;br /&gt;objXmlHttp.Send();&lt;br /&gt;if (objXmlHttp.Status == 404 || !fFileExists) &lt;br /&gt;{&lt;br /&gt;  objXmlHttp.Open("PUT", strUrl, false); &lt;br /&gt;  objXmlHttp.Send(XDocument.DOM.xml);&lt;br /&gt;				&lt;br /&gt;  if (objXmlHttp.Status == 200 objXmlHttp.Status == 201)&lt;br /&gt;  {&lt;br /&gt;    blnSubmitSuccess = true;&lt;br /&gt;  }&lt;br /&gt;}</description></item></channel></rss>