Click here to Skip to main content
15,903,523 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to create a listbox in win32 with checkbox style Pin
nbugalia30-Mar-09 22:52
nbugalia30-Mar-09 22:52 
AnswerRe: How to create a listbox in win32 with checkbox style Pin
Iain Clarke, Warrior Programmer30-Mar-09 23:14
Iain Clarke, Warrior Programmer30-Mar-09 23:14 
GeneralRe: How to create a listbox in win32 with checkbox style Pin
nbugalia30-Mar-09 23:40
nbugalia30-Mar-09 23:40 
GeneralRe: How to create a listbox in win32 with checkbox style Pin
Stephen Hewitt30-Mar-09 23:50
Stephen Hewitt30-Mar-09 23:50 
QuestionRe: How to create a listbox in win32 with checkbox style Pin
David Crow31-Mar-09 3:33
David Crow31-Mar-09 3:33 
Questionreading html file in c++/vc++ Pin
siddunelogi30-Mar-09 22:41
siddunelogi30-Mar-09 22:41 
AnswerRe: reading html file in c++/vc++ Pin
Rajesh R Subramanian30-Mar-09 22:48
professionalRajesh R Subramanian30-Mar-09 22:48 
AnswerRe: reading html file in c++/vc++ Pin
Iain Clarke, Warrior Programmer30-Mar-09 23:19
Iain Clarke, Warrior Programmer30-Mar-09 23:19 
The answer to your actual question is:
You do it the same way you'd read any other file: CreateFile, ReadFile, CFile, CFile::Read, etc.

If you mean a file on a webserver somewhere, that's different.
Lookup InternetReadFile, InternetOpenUrl, etc. Read the documentation for those very carefully.

But that will just give you a big bunch of html.

If you want your program to understand the html, that's different again. But "parser" is the right search term to use. There are articles on codeproject that do various amounts of it, it will just depend on how sophisticated you need to be.

If you want to display html to a user, it's easier - look at CHtmlView in MFC.

Good luck,

Iain.

In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!

QuestionRetrive data from SQL database & store it in Excel file Pin
diptipanchal30-Mar-09 22:31
diptipanchal30-Mar-09 22:31 
AnswerRe: Retrive data from SQL database & store it in Excel file Pin
Purish Dwivedi30-Mar-09 23:12
Purish Dwivedi30-Mar-09 23:12 
GeneralRe: Retrive data from SQL database & store it in Excel file Pin
diptipanchal31-Mar-09 0:10
diptipanchal31-Mar-09 0:10 
QuestionRe: Retrive data from SQL database & store it in Excel file Pin
David Crow31-Mar-09 3:44
David Crow31-Mar-09 3:44 
AnswerRe: Retrive data from SQL database & store it in Excel file Pin
diptipanchal31-Mar-09 18:16
diptipanchal31-Mar-09 18:16 
GeneralRe: Retrive data from SQL database & store it in Excel file Pin
David Crow1-Apr-09 2:49
David Crow1-Apr-09 2:49 
QuestionCreating a language pack............ Pin
Purish Dwivedi30-Mar-09 22:22
Purish Dwivedi30-Mar-09 22:22 
AnswerRe: Creating a language pack............ Pin
Iain Clarke, Warrior Programmer30-Mar-09 23:39
Iain Clarke, Warrior Programmer30-Mar-09 23:39 
AnswerRe: Creating a language pack............ Pin
Dimitris Vasiliadis31-Mar-09 8:37
Dimitris Vasiliadis31-Mar-09 8:37 
GeneralRe: Creating a language pack............ Pin
Purish Dwivedi31-Mar-09 20:14
Purish Dwivedi31-Mar-09 20:14 
QuestionMemory leak when return char* from DLL Pin
Shivanand Gupta30-Mar-09 22:13
Shivanand Gupta30-Mar-09 22:13 
AnswerRe: Memory leak when return char* from DLL Pin
Rajesh R Subramanian30-Mar-09 22:16
professionalRajesh R Subramanian30-Mar-09 22:16 
GeneralRe: Memory leak when return char* from DLL Pin
Shivanand Gupta30-Mar-09 23:18
Shivanand Gupta30-Mar-09 23:18 
GeneralRe: Memory leak when return char* from DLL Pin
Rajesh R Subramanian30-Mar-09 23:32
professionalRajesh R Subramanian30-Mar-09 23:32 
GeneralRe: Memory leak when return char* from DLL Pin
Shivanand Gupta31-Mar-09 0:15
Shivanand Gupta31-Mar-09 0:15 
AnswerRe: Memory leak when return char* from DLL Pin
Akt_4_U30-Mar-09 22:18
Akt_4_U30-Mar-09 22:18 
GeneralRe: Memory leak when return char* from DLL Pin
Shivanand Gupta30-Mar-09 23:16
Shivanand Gupta30-Mar-09 23:16 

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.