i have a web page with 2 submit buttons(next and Previous) and the form action attribute is set as "post".Then how can we identify the url of next or previous page.Also how can we access to the source html of this URL.
ReplyOriginally posted by: Russ
Hi,
I'm after something similar to this. Having read in the html I'd like to simulate logging into a system i.e. entering a username & password and clicking the 'login' button. Could anyone give me any pointers ?
Thanks,
Russ
ReplyOriginally posted by: Gorgo
Actually I have one page with is securied with some user name and password. How to pass the pass and user name to the web ?
thanks
ReplyOriginally posted by: alan
Is there any way to get part of the source?
I tried putting the source of a large page into a CString and then trying .Find("something") but it returns -1. Its definately in the source but is it because the CString doesn't hold enough that it doesn't find it?
thanks
ReplyOriginally posted by: Nexus
Hello
How can I save the picture in the HTML page. This function save only the text but not the picture.
Thanks you for the answer
ReplyOriginally posted by: Eunice
CString urlAddr = _T("172.15.156.43/hello.txt");
CString filename = _T("\\My Documents\\album\\try.txt");
URLDownloadToFile(NULL,urlAddr,filename,0,NULL);
MessageBox( TEXT("URL OK"), TEXT("Load Image"), MB_OK);
This is my so source code but when i compile it,i keep having this error
D:\PocketPCProject\source\EVC\copy3\SimpleImageDlg.cpp(124) : error C2065: 'URLDownloadToFile' : undeclared identifier
Can anyone help me to solve it please??
Originally posted by: tom
I get html error 407 Proxy Authentication Required by using this function. What can i do?
ReplyOriginally posted by: Payson Welch
Took me a little bit to figure out that the stdafx and afxinet libraries seem to only (well with no tweaking involved) be part of an MFC type application. Simple enough you just need to create a new project, standard exe with MFC support, don't forget to use the project_name.cpp file that MSVC will create for you in the project folder.
Reply
Originally posted by: Chandramohan J
Is it possible to get the type of source file, i.e, html, xml ,asp or jsp ?
If there is any function it will be useful.
Thank You.
ReplyOriginally posted by: Xiaolong Wu
A web page usually contains many files: an HTML file and several files of type graphic, sound, movie, ...
Hope somebody can tell me how to separate these files, get their type and length from the CHttpFile* file returned by OpenRequest().
In short, I would like to know how the "Save" function is done in IE6.
Any help is appreciated.