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.
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 ?
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?
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.