Click here to Skip to main content
15,927,592 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Extended Ascii character Pin
James Brown29-Mar-06 10:11
James Brown29-Mar-06 10:11 
QuestionBring AfxMessageBox to the Center of mainframe which is not owner to perticular AfxMessaeBox Pin
yang__lee28-Mar-06 16:51
yang__lee28-Mar-06 16:51 
QuestionConvert Html file to an ASCII file Pin
swarnamanoo28-Mar-06 16:32
swarnamanoo28-Mar-06 16:32 
AnswerRe: Convert Html file to an ASCII file Pin
ThatsAlok28-Mar-06 17:40
ThatsAlok28-Mar-06 17:40 
GeneralRe: Convert Html file to an ASCII file Pin
includeh1028-Mar-06 18:24
includeh1028-Mar-06 18:24 
GeneralRe: Convert Html file to an ASCII file Pin
swarnamanoo28-Mar-06 18:53
swarnamanoo28-Mar-06 18:53 
GeneralRe: Convert Html file to an ASCII file Pin
Rage28-Mar-06 19:34
professionalRage28-Mar-06 19:34 
GeneralRe: Convert Html file to an ASCII file Pin
ThatsAlok28-Mar-06 21:35
ThatsAlok28-Mar-06 21:35 
<blockquote class='FQ'><div class='FQA'>swarnamanoo wrote:</div>I want a converter sample which converts html data to txt file. </blockquote>

Let m_strHtmlData of type CString Contain all the your HTML data, this small piece of code will help you to remove html code from that data and pFP is file pointer of destination ASCII File

// vector<TCHAR> vecChar;

BOOL bRecFlag=TRUE;
for(int iCount=1;iCount<m_strHtmlData.GetLength();iCount++)
{
if(m_strHtmlData.GetAt(iCount)==_T('<'))
bRecFlag=FALSE;

if(m_strHtmlData.GetAt(iCount)==_T('>'))
bRecFlag=FALSE;

if((bRecFlag)&&((m_strHtmlData.GetAt(iCount)!=_T('>'))&&(m_strHtmlData.GetAt(iCount)!=_T('<'))))
_fputtc(m_strHtmlData.GetAt(iCount),pFP);

}

GeneralRe: Convert Html file to an ASCII file Pin
Rage28-Mar-06 21:47
professionalRage28-Mar-06 21:47 
GeneralRe: Convert Html file to an ASCII file Pin
ThatsAlok29-Mar-06 0:27
ThatsAlok29-Mar-06 0:27 
QuestionRe: Convert Html file to an ASCII file Pin
David Crow29-Mar-06 2:56
David Crow29-Mar-06 2:56 
AnswerRe: Convert Html file to an ASCII file Pin
Rage29-Mar-06 3:02
professionalRage29-Mar-06 3:02 
QuestionRichEdit Pin
Anilkumar K V28-Mar-06 16:26
Anilkumar K V28-Mar-06 16:26 
AnswerRe: RichEdit Pin
Sheng Jiang 蒋晟28-Mar-06 16:32
Sheng Jiang 蒋晟28-Mar-06 16:32 
GeneralRe: RichEdit Pin
Waldermort28-Mar-06 18:26
Waldermort28-Mar-06 18:26 
GeneralRe: RichEdit Pin
Anilkumar K V28-Mar-06 18:40
Anilkumar K V28-Mar-06 18:40 
GeneralRe: RichEdit Pin
Anilkumar K V28-Mar-06 18:52
Anilkumar K V28-Mar-06 18:52 
QuestionHow to call Web service from vc++6.0? Pin
lxshanye28-Mar-06 16:07
lxshanye28-Mar-06 16:07 
AnswerRe: How to call Web service from vc++6.0? Pin
Sheng Jiang 蒋晟28-Mar-06 16:10
Sheng Jiang 蒋晟28-Mar-06 16:10 
AnswerRe: How to call Web service from vc++6.0? Pin
Laxman Auti28-Mar-06 17:00
Laxman Auti28-Mar-06 17:00 
QuestionHow to insert a control into CRichEditCtrl? Pin
anycallmy28-Mar-06 15:59
anycallmy28-Mar-06 15:59 
AnswerRe: How to insert a control into CRichEditCtrl? Pin
Sheng Jiang 蒋晟28-Mar-06 16:07
Sheng Jiang 蒋晟28-Mar-06 16:07 
GeneralRe: How to insert a control into CRichEditCtrl? Pin
anycallmy28-Mar-06 16:39
anycallmy28-Mar-06 16:39 
QuestionVC6 line numbers. Pin
Christian Graus28-Mar-06 14:05
protectorChristian Graus28-Mar-06 14:05 
AnswerRe: VC6 line numbers. Pin
Saurabh.Garg28-Mar-06 15:00
Saurabh.Garg28-Mar-06 15:00 

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.