My sample application 'Easy-Favorite' uses the thumbnail control to show a thumnail
of any web page. If you want to add your favorite internet link (URL) to Easy-Favorite, just
drag & drop the URL from Internet Exporer or Netscape onto Easy-Favorite. So Easy!

The sample application Easy-Favorite contains...

OLE Drag & Drop

ThumbCtl Control

How to insert CFormView derived class to Dialog based program

Create Short-Cut

I think this article is very useful for shell program developers or IE developers.
Any questions - send an email to me!

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

Share

About the Author

Woo Seok Seo have been a Microsoft MVP for 7 years and have translated several books into Korean. Author of C# Programming for Beginner (DevPress, 2001), he is interested in Debugging techniques and .NET technology. Get in touch with Woo Seok Seo at wooseok.seo@gmail.com

Comments and Discussions

hello
there is a problem with active desktop in winNT
you should do:
ie5setup /c:"iewzd /e:ie4shell_NTx86"
and then you can use the thumbnail control in VB by adding references to
c:\winnt\system32\webvw.dll
and then put this in the code

The control behaves differently on W2K.
First, GUID of the control is changed on W2K.
Second, control requires from container to support IServiceProvider with some service. MFC container doesn't implement IServiceProvider, so control doesn't work on W2K.
(I dug this info when doing reverse engeenering of the control)
I'll try to find what kind of service is required and how to simulate this service to make control work.
The problem code (that requires IServiceProvider) is located in the shlwapi.dll (ordinal #176). Control calls this method and the method fails with E_NOINTERFACE.