Click here to Skip to main content
16,016,192 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CFile read Pin
Iain Clarke, Warrior Programmer15-May-08 22:46
Iain Clarke, Warrior Programmer15-May-08 22:46 
AnswerRe: CFile read Pin
toxcct15-May-08 23:01
toxcct15-May-08 23:01 
GeneralPLEZZZ SIR Pin
Rajesh R Subramanian15-May-08 23:24
professionalRajesh R Subramanian15-May-08 23:24 
GeneralRe: PLEZZZ SIR Pin
toxcct15-May-08 23:43
toxcct15-May-08 23:43 
GeneralRe: PLEZZZ SIR Pin
Rajesh R Subramanian15-May-08 23:48
professionalRajesh R Subramanian15-May-08 23:48 
AnswerRe: CFile read Pin
David Crow16-May-08 5:26
David Crow16-May-08 5:26 
QuestionRegarding CHyperLink example Pin
H4u3215-May-08 21:41
H4u3215-May-08 21:41 
AnswerRe: Regarding CHyperLink example Pin
Iain Clarke, Warrior Programmer16-May-08 0:03
Iain Clarke, Warrior Programmer16-May-08 0:03 
You've got a bunch of ways to do this.

Have a look at InternetOpenUrl, InternetReadFile, etc for getting the actual file.

There are almost certainly articles in the internet section here on codeproject that do a better job too.

How you implement it is up to you, but getting files over an unreliable connection is always hard. What if the user gave you a bad URL? Malformed?

If you don't need immediate feedback, you could put the reading code into a thread, so you don't make the user wait a random time, and so on.

Lots of different things for you to think about, and no trivial solutions, as the answers will depend heavily on the details of your application.

Iain.

Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.

GeneralRe: Regarding CHyperLink example Pin
H4u3216-May-08 0:12
H4u3216-May-08 0:12 
GeneralRe: Regarding CHyperLink example Pin
Iain Clarke, Warrior Programmer16-May-08 0:45
Iain Clarke, Warrior Programmer16-May-08 0:45 
AnswerRe: Regarding CHyperLink example Pin
David Crow16-May-08 5:29
David Crow16-May-08 5:29 
GeneralRe: Regarding CHyperLink example Pin
H4u3217-May-08 1:09
H4u3217-May-08 1:09 
QuestionToolTip Pin
john563215-May-08 21:39
john563215-May-08 21:39 
AnswerRe: ToolTip Pin
Iain Clarke, Warrior Programmer15-May-08 22:50
Iain Clarke, Warrior Programmer15-May-08 22:50 
GeneralRe: ToolTip Pin
john563215-May-08 22:57
john563215-May-08 22:57 
GeneralRe: ToolTip Pin
Iain Clarke, Warrior Programmer15-May-08 23:19
Iain Clarke, Warrior Programmer15-May-08 23:19 
AnswerRe: ToolTip Pin
Hamid_RT15-May-08 23:24
Hamid_RT15-May-08 23:24 
QuestionTemplate Argument Problem Pin
Sarath C15-May-08 21:22
Sarath C15-May-08 21:22 
AnswerRe: Template Argument Problem Pin
Stephen Hewitt15-May-08 21:31
Stephen Hewitt15-May-08 21:31 
GeneralRe: Template Argument Problem Pin
Sarath C15-May-08 22:43
Sarath C15-May-08 22:43 
GeneralRe: Template Argument Problem Pin
prasad_som16-May-08 0:31
prasad_som16-May-08 0:31 
GeneralRe: Template Argument Problem Pin
Stephen Hewitt18-May-08 14:21
Stephen Hewitt18-May-08 14:21 
QuestionError while converting int to string... Pin
pl_kode15-May-08 21:12
pl_kode15-May-08 21:12 
AnswerRe: Error while converting int to string... Pin
_AnsHUMAN_ 15-May-08 21:24
_AnsHUMAN_ 15-May-08 21:24 
GeneralRe: Error while converting int to string... Pin
Stephen Hewitt15-May-08 21:34
Stephen Hewitt15-May-08 21:34 

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.