Print Page | Close Window

CXTPPropExchangeXMLNode file overwrite

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=13426
Printed Date: 21 December 2024 at 9:43pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPPropExchangeXMLNode file overwrite
Posted By: dennisV
Subject: CXTPPropExchangeXMLNode file overwrite
Date Posted: 17 February 2009 at 2:57am
Hello,

Currently it seems it's impossible for the CXTPPropExchangeXMLNode::SaveToFile() not to overwrite the file specified, but just update/add nodes it needs? I'd like to have other information in that same file.

Is there a way to access the text in XML format, so that I could save it myself?

Thanks,

    Dennis


-------------
// W7 64 Ultimate SP1
// VS 2008
// CodeJock 16.2.3 (MFC)



Replies:
Posted By: Oleg
Date Posted: 17 February 2009 at 4:56am
Hi,
You can call px.GetXML();
 
 
or just call LoadFromFile before you start modify section - it will load previous state first.
 


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: dennisV
Date Posted: 17 February 2009 at 5:30am
GetXML() is perfect, thanks :)

-------------
// W7 64 Ultimate SP1
// VS 2008
// CodeJock 16.2.3 (MFC)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net