Click here to Skip to main content
15,887,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: Getting Hex value from Edit box ? Pin
Owner drawn31-Jan-06 1:07
Owner drawn31-Jan-06 1:07 
GeneralRe: Getting Hex value from Edit box ? Pin
toxcct31-Jan-06 2:09
toxcct31-Jan-06 2:09 
GeneralRe: Getting Hex value from Edit box ? Pin
Eytukan31-Jan-06 3:11
Eytukan31-Jan-06 3:11 
GeneralRe: Getting Hex value from Edit box ? Pin
Owner drawn31-Jan-06 16:43
Owner drawn31-Jan-06 16:43 
AnswerRe: Getting Hex value from Edit box ? Pin
sheshidar31-Jan-06 7:20
sheshidar31-Jan-06 7:20 
AnswerRe: Getting Hex value from Edit box ? Pin
sheshidar31-Jan-06 9:56
sheshidar31-Jan-06 9:56 
GeneralRe: Getting Hex value from Edit box ? Pin
kk_vp9-Feb-06 22:41
kk_vp9-Feb-06 22:41 
QuestionGetting the mime / content type of an http document Pin
Jagadeesh VN30-Jan-06 23:01
Jagadeesh VN30-Jan-06 23:01 
Hi,

Is there any way I can get the actual content type of a URL without downloading the file completely ?

1. I tried CHttpFile::QueryInfo with HTTP_QUERY_CONTENT_TYPE, But for that to work, I must call SendRequest, which will download the complete file.

2. I tried FindMimeFromData(...) with Url option, But its not even connecting to the internet to get the Mime type, instead I believe it checks only in the url. Sometimes the url may not be having any information about this and the server might set the mime type, so I need a method which will download only the Http response header and extract this information.

Thanks
Jugs

"A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."
AnswerRe: Getting the mime / content type of an http document Pin
Stephen Hewitt30-Jan-06 23:17
Stephen Hewitt30-Jan-06 23:17 
GeneralRe: Getting the mime / content type of an http document Pin
Jagadeesh VN31-Jan-06 20:23
Jagadeesh VN31-Jan-06 20:23 
QuestionHook file access Pin
Tschieses30-Jan-06 22:37
Tschieses30-Jan-06 22:37 
AnswerRe: Hook file access Pin
Stephen Hewitt30-Jan-06 22:52
Stephen Hewitt30-Jan-06 22:52 
GeneralRe: Hook file access Pin
Tschieses30-Jan-06 23:04
Tschieses30-Jan-06 23:04 
GeneralRe: Hook file access Pin
Stephen Hewitt30-Jan-06 23:45
Stephen Hewitt30-Jan-06 23:45 
GeneralRe: Hook file access Pin
Tschieses31-Jan-06 0:07
Tschieses31-Jan-06 0:07 
GeneralRe: Hook file access Pin
Chintoo72331-Jan-06 0:11
Chintoo72331-Jan-06 0:11 
GeneralRe: Hook file access Pin
Stephen Hewitt31-Jan-06 11:18
Stephen Hewitt31-Jan-06 11:18 
QuestionProblem in scrolling Pin
Anu_Bala30-Jan-06 22:19
Anu_Bala30-Jan-06 22:19 
AnswerRe: Problem in scrolling Pin
Owner drawn30-Jan-06 22:28
Owner drawn30-Jan-06 22:28 
Questionscrolling problem in listbox Pin
Anu_Bala30-Jan-06 22:02
Anu_Bala30-Jan-06 22:02 
AnswerRe: scrolling problem in listbox Pin
Rage30-Jan-06 22:14
professionalRage30-Jan-06 22:14 
Questiondifference between win32app & mfc Pin
samira forooghi30-Jan-06 21:56
samira forooghi30-Jan-06 21:56 
AnswerRe: difference between win32app & mfc Pin
kakan30-Jan-06 22:02
professionalkakan30-Jan-06 22:02 
GeneralRe: difference between win32app & mfc Pin
khan++30-Jan-06 22:20
khan++30-Jan-06 22:20 
GeneralRe: difference between win32app & mfc Pin
kakan31-Jan-06 0:18
professionalkakan31-Jan-06 0:18 

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.