<?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: How to set value in text box value?</title><link>https://www.infopathdev.com:443/forums/thread/6820.aspx</link><pubDate>Sun, 15 May 2005 04:51:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6820</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6820.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6820</wfw:commentRss><description>My Text box is DataType Decimal.&lt;br /&gt;In my code I have this:&lt;br /&gt;&lt;br /&gt;this.thisXDocument.DOM.selectSingleNode("//my:myFields/my:MyTextBox").nodeTypedValue= 4.77&lt;br /&gt;&lt;br /&gt;I get this Error&lt;br /&gt;&lt;br /&gt;"System.Runtime.InteropServices.COMException"&lt;br /&gt;It's work only when the Text Box type is Text!&lt;br /&gt;&lt;br /&gt;Do I need do somthing with IXMLDOMNode?&lt;br /&gt;</description></item><item><title>Re: How to set value in text box value?</title><link>https://www.infopathdev.com:443/forums/thread/6819.aspx</link><pubDate>Wed, 11 May 2005 17:09:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6819</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6819.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6819</wfw:commentRss><description>Please keep in mind that in your code you are setting text values regardless of the datatype specified in the schema. The schema identifies how to interperet the text value. But in your code, when setting a value, you must specify a text value when you are using the .text property.&lt;br /&gt;&lt;br /&gt;If you want to not convert to a string, you might try using .nodeTypedValue instead. I believe (please verify yourself) that this will allow you to use an actual decimal value.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>How to set value in text box value?</title><link>https://www.infopathdev.com:443/forums/thread/4661.aspx</link><pubDate>Wed, 11 May 2005 09:44:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4661</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4661.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4661</wfw:commentRss><description>I have a Text Box in my form type Decimal&lt;br /&gt;&lt;br /&gt;In my code (C#) I want to set value for it&lt;br /&gt;&lt;br /&gt;this.thisXDocument.DOM.selectSingleNode("//my:myFields/MyTextBox").text=44.77;&lt;br /&gt;&lt;br /&gt;I get an Error. How to do this?</description></item></channel></rss>