<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : how to write data to CXTPPropExchangeXMLNode</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Syntax Edit : how to write data to CXTPPropExchangeXMLNode]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 23 May 2026 02:57:47 +0000</pubDate>
  <lastBuildDate>Tue, 08 Sep 2020 05:09:50 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=24048</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[how to write data to CXTPPropExchangeXMLNode : Hi;Here&amp;#039;s a code snipped...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24048&amp;PID=77832&amp;title=how-to-write-data-to-cxtppropexchangexmlnode#77832</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 24048<br /><strong>Posted:</strong> 08 September 2020 at 5:09am<br /><br /><div>Hi;</div><div>Here's a code snipped that shows how to store. Keep in mind that you have to write all items you want to put into the XML file:<br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; CXTPPropExchangeXMLNode px(<strong><font color="RED">FALSE</font></strong>, 0, _T("Settings"));<br><br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; if (px.OnBeforeExchange())<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPPropExchangeSection pxSubNode1(px.GetSection(_T("Service")));<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; VERIFY(PX_Long(&amp;pxSubNode1, _T("TraceLevel"), TraceLevel_, logINFO));<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; VERIFY(PX_String(&amp;pxSubNode1, _T("User"),&nbsp;&nbsp;&nbsp; TheUser));<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; VERIFY(PX_String(&amp;pxSubNode1, _T("DB-Service"),&nbsp; TheService));<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; VERIFY(PX_Long(&amp;pxSubNode1, _T("DB-Interval"), Interval_));</div><div>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPPropExchangeSection pxSubNode2(px.GetSection(_T("Parameters")));</div><div>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; VERIFY(PX_Bool(&amp;pxSubNode2, _T("ExtendedSampleCount"), UseExtendedSampleCount_, FALSE));<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; VERIFY(PX_Bool(&amp;pxSubNode2, _T("ShowEmptyRows"), ShowEmptyRows_, FALSE));<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; VERIFY(PX_Bool(&amp;pxSubNode2, _T("InvalidateHeatIfNoConsumption"), InvalidateHeatIfNoConsumption_, FALSE));<br><br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if(!CreateDirectory(pszPath, nullptr))&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (GetLastError()!=ERROR_ALREADY_EXISTS) {<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return false;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; _tcscat_s(pszPath, _T("\\Options.xml"));<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (px.SaveToFile(pszPath)==S_OK)<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return true;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; }</pre></td></tr></table></div><div><br></div><div>Hope this helps.<br></div>]]>
   </description>
   <pubDate>Tue, 08 Sep 2020 05:09:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24048&amp;PID=77832&amp;title=how-to-write-data-to-cxtppropexchangexmlnode#77832</guid>
  </item> 
  <item>
   <title><![CDATA[how to write data to CXTPPropExchangeXMLNode : now I can read data fromCXTPPropExchangeXMLNode...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24048&amp;PID=77831&amp;title=how-to-write-data-to-cxtppropexchangexmlnode#77831</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9439">yangyanhui</a><br /><strong>Subject:</strong> 24048<br /><strong>Posted:</strong> 08 September 2020 at 4:40am<br /><br />now I can read data from&nbsp;CXTPPropExchangeXMLNode using PX_STRING but I do not know how to write data into it. I have tried PX_STRING to write but failed<div id="qb-sougou-search" style="display: n&#111;ne; opacity: 0;"><p>搜索</p><p ="last-btn">复制</p>< =""></div>]]>
   </description>
   <pubDate>Tue, 08 Sep 2020 04:40:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24048&amp;PID=77831&amp;title=how-to-write-data-to-cxtppropexchangexmlnode#77831</guid>
  </item> 
 </channel>
</rss>