Click here to Skip to main content
15,920,956 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Am I coding right? Pin
Eytukan12-Jan-06 1:47
Eytukan12-Jan-06 1:47 
GeneralRe: Am I coding right? Pin
ThatsAlok12-Jan-06 1:57
ThatsAlok12-Jan-06 1:57 
GeneralRe: Am I coding right? Pin
Lord Kixdemp12-Jan-06 11:07
Lord Kixdemp12-Jan-06 11:07 
QuestionOpenGL w/o MFC? Pin
Lord Kixdemp11-Jan-06 10:38
Lord Kixdemp11-Jan-06 10:38 
AnswerRe: OpenGL w/o MFC? Pin
Christian Graus11-Jan-06 10:52
protectorChristian Graus11-Jan-06 10:52 
GeneralRe: OpenGL w/o MFC? Pin
Lord Kixdemp11-Jan-06 11:17
Lord Kixdemp11-Jan-06 11:17 
AnswerRe: OpenGL w/o MFC? Pin
Curtis Schlak.11-Jan-06 13:22
Curtis Schlak.11-Jan-06 13:22 
GeneralRe: OpenGL w/o MFC? Pin
Lord Kixdemp12-Jan-06 12:33
Lord Kixdemp12-Jan-06 12:33 
QuestionRegistering application Pin
Shay Harel11-Jan-06 6:50
Shay Harel11-Jan-06 6:50 
AnswerRe: Registering application Pin
Bob Flynn11-Jan-06 7:11
Bob Flynn11-Jan-06 7:11 
QuestionHow can a dialog be Modeless when invoked with DoModal Pin
Wolfram Steinke11-Jan-06 6:42
Wolfram Steinke11-Jan-06 6:42 
AnswerRe: How can a dialog be Modeless when invoked with DoModal Pin
Nish Nishant11-Jan-06 6:48
sitebuilderNish Nishant11-Jan-06 6:48 
QuestionHow do I Register an OCX as Part Of a Deployment Project? Pin
jerry1211a11-Jan-06 6:06
jerry1211a11-Jan-06 6:06 
AnswerRe: How do I Register an OCX as Part Of a Deployment Project? Pin
Sarvan AL11-Jan-06 22:15
Sarvan AL11-Jan-06 22:15 
QuestionConverting text file to xml Pin
c0711-Jan-06 5:45
c0711-Jan-06 5:45 
AnswerRe: Converting text file to xml Pin
LCI11-Jan-06 8:52
LCI11-Jan-06 8:52 
GeneralRe: Converting text file to xml Pin
Maximilien11-Jan-06 8:57
Maximilien11-Jan-06 8:57 
AnswerRe: Converting text file to xml Pin
Maximilien11-Jan-06 9:43
Maximilien11-Jan-06 9:43 
GeneralRe: Converting text file to xml Pin
c0711-Jan-06 13:59
c0711-Jan-06 13:59 
AnswerRe: Converting text file to xml Pin
Stephen Hewitt11-Jan-06 20:41
Stephen Hewitt11-Jan-06 20:41 
AnswerRe: Converting text file to xml Pin
FarPointer12-Jan-06 4:11
FarPointer12-Jan-06 4:11 
HI ,
You can open any xml file in the text mode see the tag representation and then open your file in append mode and move in and place those tag there ,only the header needs to be fixed all the other tag can be any format(of your name) ,this is the raw way of converting it into xml format.

For example to add the header i will do something like this :-

<code>int CXmlWrite::AddHeader(CString& sHeader )
{
CString sAddHeader,sAddHeader1;
m_sHeader = sHeader;//store it needed for closing
sAddHeader.Format("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>");
m_fXmlWrite<<sAddHeader<<endl;
sAddHeader1.Format ("<%s>",sHeader);
m_fXmlWrite<<sAddHeader1<<endl;
return 1; // the count of numbers addedas header
}</code>

// this you need to place above between the inverted commas
//"<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>"

Hope it solves your problem
Regards
FarPointer.

-- modified at 10:16 Thursday 12th January, 2006
AnswerRe: Converting text file to xml Pin
c0712-Jan-06 16:14
c0712-Jan-06 16:14 
QuestionHow to dynamically retrieve ODBC parameters through code? Pin
Priya..k11-Jan-06 5:08
Priya..k11-Jan-06 5:08 
AnswerRe: How to dynamically retrieve ODBC parameters through code? Pin
Koushik Biswas11-Jan-06 16:10
Koushik Biswas11-Jan-06 16:10 
GeneralRe: How to dynamically retrieve ODBC parameters through code? Pin
Priya..k11-Jan-06 22:23
Priya..k11-Jan-06 22:23 

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.