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

C / C++ / MFC

 
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 
AnswerRe: Getting the mime / content type of an http document Pin
Stephen Hewitt30-Jan-06 23:17
Stephen Hewitt30-Jan-06 23:17 
You could ask the server - The response of a HTTP request gives the MIME type. To see what I'm talking about try this:

1. Open a command prompt and enter "telnet www.thecodeproject.com 80".
2. Now type the following, exactly (you will not be able to see what you're typing - The blank line at the end is important):
HEAD /images/standard/logotop.gif HTTP/1.1
Host: www.thecodeproject.com



The response from the server will indicate the content type (see the "Content-Type" header field).

I'm not saying you have to do all this manually at the socket level (although to do so would not be hard), but if you can figure out how to send a HTTP "HEAD" request to the server and read the response using whatever framework or API you're into you should be able to do it.

Steve
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 
AnswerRe: difference between win32app & mfc Pin
khan++30-Jan-06 22:27
khan++30-Jan-06 22:27 

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.