<?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: Problem of pass parametrs</title><link>https://www.infopathdev.com:443/forums/thread/9989.aspx</link><pubDate>Tue, 27 Jun 2006 04:59:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9989</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9989.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9989</wfw:commentRss><description>Any one??&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Problem of pass parametrs</title><link>https://www.infopathdev.com:443/forums/thread/9988.aspx</link><pubDate>Mon, 26 Jun 2006 04:47:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9988</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9988.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9988</wfw:commentRss><description>Sorry. I gave wromg code. This is the code&lt;br /&gt;&lt;br /&gt;Dim type&lt;br /&gt;type=XDocument.DOM.selectSingleNode("/my:myFields/my:AAA/my:Type").text&lt;br /&gt;&lt;br /&gt;Set dataObj=XDocument.DataObjects("AAA")&lt;br /&gt;Set dataDom=dataObj.DOM&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;dataDom.setProperty _&lt;br /&gt;"SelectionNamespaces","xmlns:dfs=""http://schemas.microsoft.com/office/infopath/2003/dataFormSolution"" " &amp; _&lt;br /&gt;"xmlns:tns=""http://tempuri.org/"" "&lt;br /&gt;&lt;br /&gt;dataDom.selectSingleNode ("/dfs:myFields/dfs:queryFields/tns:AAA/tns:ModeType").text=type ("/dfs:myFields/dfs:queryFields/tns:AAA/tns:Name").text=strName&lt;br /&gt;&lt;br /&gt;I get Error : " Input string was not in a correct format."&lt;br /&gt;What is the problem???&lt;br /&gt;By the way: the field "Type" is a field which Data Type is Whole number</description></item><item><title>Problem of pass parametrs</title><link>https://www.infopathdev.com:443/forums/thread/5685.aspx</link><pubDate>Sun, 25 Jun 2006 12:47:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5685</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5685.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5685</wfw:commentRss><description>I have in my form a Data Connection to a Web Service (type Recive).&lt;br /&gt;There are 2 parameters that the WS get (the methode),first one type string (called "Name") and seconed type Integer(calles "ModeType"). In my form I have this code:&lt;br /&gt;&lt;br /&gt;Set dataObj=XDocument.DataObjects("AAA")&lt;br /&gt;Set dataDom=dataObj.DOM&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;dataDom.setProperty _&lt;br /&gt;"SelectionNamespaces","xmlns:dfs=""http://schemas.microsoft.com/office/infopath/2003/dataFormSolution"" " &amp; _&lt;br /&gt;"xmlns:tns=""http://tempuri.org/"" "&lt;br /&gt;&lt;br /&gt;dataDom.selectSingleNode ("/dfs:myFields/dfs:queryFields/tns:AAA/tns:ModeType").text=XDocument.DOM.selectSingleNode("/my:myFields/my:AAA/my:MT").text&lt;br /&gt;dataDom.selectSingleNode ("/dfs:myFields/dfs:queryFields/tns:AAA/tns:Name").text=strName&lt;br /&gt;&lt;br /&gt;I get Error : " Input string was not in a correct format."&lt;br /&gt;What is the problem???</description></item></channel></rss>