First, I have a web browser control that loads a webpage.
Once the webpage is loaded I then need to make a copy of that webpage and store it as a bitmap image in root drive c:\ of local machine.
Here's what I have so far... (Select, Copy, Clear selection)
But how do you create/save selection as image from clipboard ??
Is their a better way to do what I need ??
Code:' Select all from webbrowser WebBrowser1.ExecWB OLECMDID_SELECTALL, OLECMDEXECOPT_DONTPROMPTUSER ' Copy the text to Clipboard WebBrowser1.ExecWB OLECMDID_COPY, OLECMDEXECOPT_DONTPROMPTUSER ' Clear the selection WebBrowser1.ExecWB OLECMDID_CLEARSELECTION, OLECMDEXECOPT_DONTPROMPTUSER




Reply With Quote