For detailed ideas, better example source code,
CodePudding user response:
http://www.clevercomponents.com/Don't explain
People think the best extraction web content control,
CodePudding user response:
Elements are generally two kinds of extraction methods of web page,One is to use a regular expression analysis web page text,
The second is to use IHTMLDocument2 interface or other analysis page elements,
CodePudding user response:
The SDK in not on itCodePudding user response:
N years ago made of similar material, enumerate all controls, IE to open the page properties conform to the content of the text box input, Settings, click the submit button, after the completion of a long time agoCodePudding user response:
Reference: give you a similar code through the built-in CppWebBrowser controls to implement program, with CppWebBrowser before you use to open a web page, then add more similar to a button click event the following codethe Variant Doc=CppWebBrowser1 - & gt; OleObject. OlePropertyGet (" Document ");//get the current HTML document object
The Variant checkbox=Doc. OleFunction (" getElementById ", "checkbox");//source check box, are specified to operate the controls
If (((IDispatch *) checkbox)!=NULL) {
If (StrToBool (VarToStr (checkbox. OlePropertyGet (" Checked ")))==false) checkbox. OleFunction (" click ");
}
CodePudding user response:
The WEBBROWSER is MFC what's inside, not the SDK,I do remember listening to a web page of the classmate say, the web can leave interface, through the interface can send something to the software,
Have a proficient in web pages and the SDK high play, talk about, can use this implementation?
CodePudding user response:
With regular expressions, really want to spend a lot of energy to write algorithms, hematemesis,CodePudding user response:
! Why always comes to the actual method, no reply?CodePudding user response:
I want to do most after a program to control the web game, you have no advice, thank youCodePudding user response: