2022-10-04, 06:12:11
I need to copy the contents of the page.
Using Webbrowser control (IE11) in VB6, I copied the content this way:
The above code selects the entire page (equivalent to Ctrl+A),
then copies the entire page to the clipboard (Ctrl+C) and finally deselects the selection.
Could you point out how to copy the content usingĀ AntView ActiveX?
Your RequestCurrentHtml method works great and retrieves the source HTML code.
Is it possible to add a method to copy the content of the page?
Best Regards
Przemek
Using Webbrowser control (IE11) in VB6, I copied the content this way:
Code:
1. Webbrowser1.ExecWB OLECMDID_SELECTALL, OLECMDEXECOPT_DODEFAULT
2. Webbrowser1.ExecWB OLECMDID_COPY, OLECMDEXECOPT_DODEFAULT
3. Webbrowser1.ExecWB OLECMDID_CLEARSELECTION, OLECMDEXECOPT_DONTPROMPTUSER
The above code selects the entire page (equivalent to Ctrl+A),
then copies the entire page to the clipboard (Ctrl+C) and finally deselects the selection.
Could you point out how to copy the content usingĀ AntView ActiveX?
Your RequestCurrentHtml method works great and retrieves the source HTML code.
Is it possible to add a method to copy the content of the page?
Best Regards
Przemek