Click here to Skip to main content
15,898,993 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Loading Bitmap Image Pin
LunaticFringe15-Jan-04 6:14
LunaticFringe15-Jan-04 6:14 
GeneralRe: Loading Bitmap Image Pin
sweep12315-Jan-04 6:22
sweep12315-Jan-04 6:22 
GeneralRe: Loading Bitmap Image Pin
LunaticFringe15-Jan-04 11:01
LunaticFringe15-Jan-04 11:01 
GeneralNetwork connection problem Pin
Stan the man14-Jan-04 22:43
Stan the man14-Jan-04 22:43 
GeneralRe: Network connection problem Pin
Alexander M.,15-Jan-04 5:29
Alexander M.,15-Jan-04 5:29 
GeneralRe: Network connection problem Pin
Anonymous17-Jan-04 15:41
Anonymous17-Jan-04 15:41 
QuestionHow to get a https file Pin
FerrariDMan14-Jan-04 22:22
FerrariDMan14-Jan-04 22:22 
AnswerRe: How to get a https file Pin
Abhishek Srivastava14-Jan-04 22:37
Abhishek Srivastava14-Jan-04 22:37 
Hi ,

i have also done the same thing once but using Wininet APIS
i can guide u how to use them.

To use the HTTP WinInet functions

Call the InternetOpen function to initialize an Internet handle.
InternetOpen creates the root HINTERNET handle used to establish the HTTP session. The HINTERNET is used by all subsequent functions.

Call InternetConnect using the HINTERNET returned by InternetOpen to create an HTTP session.
When calling InternetConnect, specify INTERNET_DEFAULT_HTTP for the nServerPort parameter and INTERNET_SERVICE_HTTP for the dwService parameter.

InternetConnect uses the handle returned by InternetOpen to create a specific HTTP session. InternetConnect initializes an HTTP session for the specified site, using the arguments passed to it and creates HINTERNET that is a branch off the root handle. InternetConnect does not attempt to access or establish a connection to the specified site.

Call HttpOpenRequest to open an HTTP request handle.
HttpOpenRequest uses the handle created by InternetConnect to establish a connection to the specified site.

Call HttpSendRequest using the handle created by the HttpOpenRequest to send an HTTP request to the HTTP server.
Call InternetReadFile to download data.
–Or–

Call InternetQueryDataAvailable to query how much data is available to be read by a subsequent call to InternetReadFile.

Call InternetCloseHandle to close the handle created by HttpOpenRequest.
Call InternetCloseHandle to close the HTTP session created by InternetConnect.
Call InternetCloseHandle to close the handle created by InternetOpen.

in this way u can download ur file Smile | :)

Abhishek Srivastava
Software Engineer (VC++)
India ,Noida
Mobile no 9891492921 Smile | :)

GeneralRe: How to get a https file Pin
Marcello16-Jan-04 8:29
Marcello16-Jan-04 8:29 
AnswerRe: How to get a https file Pin
alex.barylski14-Jan-04 22:49
alex.barylski14-Jan-04 22:49 
GeneralFocus problem Pin
kliviu14-Jan-04 21:31
kliviu14-Jan-04 21:31 
GeneralRe: Focus problem Pin
alex.barylski14-Jan-04 21:49
alex.barylski14-Jan-04 21:49 
GeneralRe: Focus problem Pin
Prakash Nadar14-Jan-04 23:14
Prakash Nadar14-Jan-04 23:14 
GeneralCListBox with Checkboxes Pin
Cedric Moonen14-Jan-04 21:28
Cedric Moonen14-Jan-04 21:28 
GeneralRe: CListBox with Checkboxes Pin
kliviu14-Jan-04 21:39
kliviu14-Jan-04 21:39 
GeneralRe: CListBox with Checkboxes Pin
Cedric Moonen14-Jan-04 21:51
Cedric Moonen14-Jan-04 21:51 
GeneralRe: CListBox with Checkboxes Pin
Antti Keskinen14-Jan-04 21:47
Antti Keskinen14-Jan-04 21:47 
GeneralRe: CListBox with Checkboxes Pin
alex.barylski14-Jan-04 21:51
alex.barylski14-Jan-04 21:51 
GeneralRe: CListBox with Checkboxes Pin
Michael P Butler15-Jan-04 2:30
Michael P Butler15-Jan-04 2:30 
Questionhelp me! how will i handle user actions? Pin
Atilla Selem14-Jan-04 21:23
Atilla Selem14-Jan-04 21:23 
AnswerRe: help me! how will i handle user actions? Pin
Antti Keskinen14-Jan-04 21:36
Antti Keskinen14-Jan-04 21:36 
QuestionWhere does VS 6.0 stores the path of a file ? Pin
Jerome Conus14-Jan-04 21:01
Jerome Conus14-Jan-04 21:01 
AnswerRe: Where does VS 6.0 stores the path of a file ? Pin
567890123415-Jan-04 2:53
567890123415-Jan-04 2:53 
GeneralReally Dumb (easy) Question Pin
Roger Wright14-Jan-04 20:28
professionalRoger Wright14-Jan-04 20:28 
GeneralRe: Really Dumb (easy) Question Pin
StHubi14-Jan-04 20:54
StHubi14-Jan-04 20:54 

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.