|
-
May 3rd, 2004, 12:08 PM
#1
Thread Starter
Lively Member
Web-Page to JPG Conversion???
I need to capture a web page even parts that are hidden as follows:
1) Start with a blank VB6 project
2) Add a button and a webbrowser control
3) Have the webbrowser control navigate to a long, complicated web page...
4) When the button is pressed, I need to save to disk
a JPG image of the entire web page - even if much of it is hidden from view.
Does anybody have any idea what code to put in the button?
-
May 4th, 2004, 02:34 AM
#2
Member
What exactly are you trying to accomplish? Maybe there is a better way of doing this?
-
May 5th, 2004, 11:44 AM
#3
Fanatic Member
i dont know but i know how to get the .hwnd handle of the webbrowser window .this might help you.
use the GetFocus API function
then do this each time you want to get the hwnd of the webbrowser control
webbrowser1.setfocus
webbrowser_hwnd=GetFocus
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|