Click here to Skip to main content
15,912,021 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Load & read the XML File Pin
David Crow3-Apr-06 2:15
David Crow3-Apr-06 2:15 
AnswerRe: Load & read the XML File Pin
Amit Agarrwal3-Apr-06 2:19
Amit Agarrwal3-Apr-06 2:19 
AnswerRe: Load & read the XML File Pin
Hamid_RT3-Apr-06 2:16
Hamid_RT3-Apr-06 2:16 
GeneralRe: Load & read the XML File Pin
Amit Agarrwal3-Apr-06 2:21
Amit Agarrwal3-Apr-06 2:21 
AnswerRe: Load & read the XML File Pin
Hamid_RT3-Apr-06 2:20
Hamid_RT3-Apr-06 2:20 
AnswerRe: Load & read the XML File Pin
thatsme_cool3-Apr-06 2:21
thatsme_cool3-Apr-06 2:21 
GeneralRe: Load & read the XML File Pin
Amit Agarrwal3-Apr-06 2:25
Amit Agarrwal3-Apr-06 2:25 
GeneralRe: Load & read the XML File Pin
thatsme_cool3-Apr-06 2:36
thatsme_cool3-Apr-06 2:36 
Thank god ur file got opened (& I hope by using my method)

after opening the file u just need to pass the tag name
as u know xml file contains user defined tags

ex: if in ur xml file there is a tag as

<aavesh>Iam a programmer</aavesh>

what u want is to print "iam a programmer" into a cntrl (I hope iam right)

if yes then call 2nd method as

GetProperty (or is it GetElement)
ok
GetProperty(_T("aavesh"), bstr);

declare bstr as

CComBSTR bstr;

u'll get bstr = "iam a programmer"

then convert bstr to CString as

USES_CONVERSION;
CString strTemp = W2A(bstr);

now u can assign the strTemp value to ur ctrl using appropriate method.
ok

GeneralRe: Load & read the XML File Pin
Amit Agarrwal3-Apr-06 2:44
Amit Agarrwal3-Apr-06 2:44 
GeneralRe: Load & read the XML File Pin
thatsme_cool3-Apr-06 2:51
thatsme_cool3-Apr-06 2:51 
GeneralRe: Load & read the XML File Pin
Amit Agarrwal3-Apr-06 3:06
Amit Agarrwal3-Apr-06 3:06 
GeneralRe: Load & read the XML File Pin
thatsme_cool3-Apr-06 3:11
thatsme_cool3-Apr-06 3:11 
GeneralRe: Load & read the XML File Pin
Amit Agarrwal3-Apr-06 3:18
Amit Agarrwal3-Apr-06 3:18 
GeneralRe: Load & read the XML File Pin
thatsme_cool3-Apr-06 3:30
thatsme_cool3-Apr-06 3:30 
GeneralRe: Load & read the XML File Pin
thatsme_cool3-Apr-06 3:39
thatsme_cool3-Apr-06 3:39 
GeneralRe: Load & read the XML File Pin
Amit Agarrwal3-Apr-06 18:35
Amit Agarrwal3-Apr-06 18:35 
GeneralRe: Load & read the XML File Pin
thatsme_cool3-Apr-06 20:01
thatsme_cool3-Apr-06 20:01 
GeneralRe: Load & read the XML File Pin
Amit Agarrwal3-Apr-06 21:50
Amit Agarrwal3-Apr-06 21:50 
GeneralRe: Load & read the XML File Pin
thatsme_cool3-Apr-06 23:27
thatsme_cool3-Apr-06 23:27 
GeneralRe: Load & read the XML File Pin
thatsme_cool4-Apr-06 0:19
thatsme_cool4-Apr-06 0:19 
GeneralRe: Load &amp;amp;amp; read the XML File Pin
Amit Agarrwal4-Apr-06 0:54
Amit Agarrwal4-Apr-06 0:54 
GeneralRe: Load &amp;amp;amp; read the XML File Pin
thatsme_cool4-Apr-06 1:41
thatsme_cool4-Apr-06 1:41 
GeneralRe: Load &amp;amp;amp;amp; read the XML File Pin
Amit Agarrwal4-Apr-06 1:57
Amit Agarrwal4-Apr-06 1:57 
GeneralRe: Load &amp;amp;amp;amp; read the XML File Pin
thatsme_cool4-Apr-06 2:30
thatsme_cool4-Apr-06 2:30 
GeneralRe: Load &amp;amp;amp;amp; read the XML File Pin
Amit Agarrwal4-Apr-06 2:44
Amit Agarrwal4-Apr-06 2:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.