Re: Loading a webpage into a thumbnail
From: Cor Ligthert (notmyfirstname_at_planet.nl)
Date: 11/26/04
- Next message: Cor Ligthert: "Re: Inheritance design issue"
- Previous message: Sakharam Phapale: "Re: Quick way to transfer huge data from one file to another."
- In reply to: Nak: "Re: Loading a webpage into a thumbnail"
- Next in thread: Richard Myers: "Re: Loading a webpage into a thumbnail"
- Reply: Richard Myers: "Re: Loading a webpage into a thumbnail"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 26 Nov 2004 08:41:31 +0100
Nick,
I never understand how it was done, however now Bop Hollness write it, I get
it.
Get your page in the axwebbrowser
Take that part of screen in a bmp
Set it to a thumbnail using the tumbnail method from gdi
And that is all.
Probably not more than 20 lines of code.
I think I should try this one ones.
However I think that this is more a nice simple chalenge for our Multimedia
Student in my idea
Cor
"Nak" <a@a.com>
>
>> Any ideas how I could load a webpage into a control that was about the
>> size of a stamp? I tried a few things but it just put scrollbars on the
>> control and showed the page as a whole. Basically, I want to scale an
>> image of the webpage I guess.
>
> There are a couple of ways (as I know of). Firstly is to use MSHTML to
> render the page to your desired DC. Or use IShellExtractor to get a
> thumbnail of a local HTML file. Although I haven't actually managed to
> get the latter to work, and something makes me believe that this feature
> has been removed for security purposes, as Explorer doesn't even do it
> now.
>
> Here is a link on MSHTML that *might* help you.
>
> http://www.devcity.net/forums/topic.asp?tid=85214
> ^ You'll have to rummage through that one as it's full of a bunch of
> people having problems doing as you desire. But I believe it should point
> you in the right direction.
>
> http://www.codeproject.com/internet/htmlimagecapture.asp
> ^ This on the other hand has a working C++ example, sorry it's not .NET
> :-(
>
> Nick.
>
- Next message: Cor Ligthert: "Re: Inheritance design issue"
- Previous message: Sakharam Phapale: "Re: Quick way to transfer huge data from one file to another."
- In reply to: Nak: "Re: Loading a webpage into a thumbnail"
- Next in thread: Richard Myers: "Re: Loading a webpage into a thumbnail"
- Reply: Richard Myers: "Re: Loading a webpage into a thumbnail"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|