Hi All, Can anyone tell me how to use VC6 to read the source of a web page into a string (just as you can in Perl)? Thanks in advance Wayne
This article may help you !!! http://www.codeproject.com/internet/amhttputils.asp -- With Regards Alok Gupta Visit me at http://alok.bizhat.com "I Believe this will Help" "Wayne Power" <w.power@xadsl@xtra.co.nz> wrote in message news:0md_d.10553$1S4.1105824@news.xtra.co.nz... > Hi All, > > Can anyone tell me how to use VC6 to read the source of a web page into a > string (just as you can in Perl)? > > Thanks in advance > > Wayne > >
You can use URLDownloadToFile. There is some other code at codeproject which will let you load it in memory directly. ------- Ajay Kalra ajaykalra@yahoo.com
Sir, Could i ask one question, how to make application which provide resume download facility..... i mean how what command required for resuming download Thanks Sir -- With Regards Alok Gupta Visit me at http://alok.bizhat.com "I Believe this will Help" "Ajay Kalra" <ajaykalra@yahoo.com> wrote in message news:1111068192.507803.43960@g14g2000cwa.googlegroups.com... > You can use URLDownloadToFile. There is some other code at codeproject > which will let you load it in memory directly. > > ------- > Ajay Kalra > ajaykalra@yahoo.com >
URLDownloadToFile allows communication during download by use of IBindStatusCallback. I am not aware of anything which will let you keep the connection and resume when you want at the point where you left of(If thats what you are asking). Michael Dunn's article shows IBindStatusCallback in action: http://www.codeproject.com/internet/urldownload.asp?select=721306&df=100&forumid=145&exp=0 -------- Ajay Kalra ajaykalra@yahoo.com
- Thanks Alok, Ajay and Anders Molin for all that. I'm working through it and I've joined the Code Project (which I didn't know about) as well! Regards, Wayne "thatsalok" <thatsalok@NO_gmail.com_I_DONT_NEED_SPAM> wrote in message news:eeACOMuKFHA.2748@TK2MSFTNGP09.phx.gbl... > This article may help you !!! > http://www.codeproject.com/internet/amhttputils.asp > > -- > > With Regards > Alok Gupta > Visit me at http://alok.bizhat.com > >