473,387 Members | 1,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Website Thumbnail in Web application

I am working on a web application in ASP.NET 2.0 using C# which requires the website thumnail to be generated in a gridview, the url of the website is got from the database. Any help will be useful.
May 30 '07 #1
2 1469
Plater
7,872 Expert 4TB
You want a thumbnail of how the html page will look?
Without being to sure I would say find an html rendering object (possibly the WebBrowser object, but I've had troubled using it in a web-based application) then get at it's graphics object and create a Bitmap object from it, then use the CreateThumbnail() (or it's analog) to generate a thumbnail at the size you desire.

I make no garuntees on that working, but it's a possible thought flow
May 30 '07 #2
You want a thumbnail of how the html page will look?
Without being to sure I would say find an html rendering object (possibly the WebBrowser object, but I've had troubled using it in a web-based application) then get at it's graphics object and create a Bitmap object from it, then use the CreateThumbnail() (or it's analog) to generate a thumbnail at the size you desire.

I make no garuntees on that working, but it's a possible thought flow
I tried using Webbrowser object but it throws an exception "Error HRESULT E_FAIL has been returned from a call to a COM component" on the line Webbrowser.Navitage(url) statement and a blank image is generated.

Any solutions for this?
May 31 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Joseph Ellis | last post by:
Hello all. I have a family website that I have been maintaining for the past year and a half or so. It includes a photo album that has grown quite large. So far I've displayed the photo album...
54
by: Max Quordlepleen | last post by:
Apologies for the crossposting, I wasn't sure which of these groups to ask this in. I have been lurking in these groups for a week or so, trying to glean what I need to design a simple, clean...
5
by: Brian Henry | last post by:
Is there anyway to get a thumbnail of a file similar to the way explorer does that can be used in an application? I want to for example if i drag a file over a picture box, if it has the ability to...
2
by: asad | last post by:
Hello friends, how ru all, i have some problem about saving created thumbnail, following is the code i use for creating thumbnail but thumbnail was not saved it is on memory which method is used to...
1
by: TCB | last post by:
I am developing a website using .NET 2.0 (classified style website) it displays a series of records per page (8, using a datagrid with paging) each record displays a thumbnail of an image that...
5
by: William LaMartin | last post by:
I have a VB ASP.Net application where the user can upload a file using the FileUpload server control. I also want a thumbnail to be created for this file. Unfortunately I can see no means to...
8
by: barb | last post by:
So that the world at large benefits from our efforts, here is one fully documented way to use Windows Irfanview freeware to create thumbnail web galleries (http://www.irfanview.com). STEP 1:...
3
by: mc | last post by:
My Problem: I need some C# code which creates a thumbnail from a video. The only catch is that I need to run it on a shared host (web server) which will only support assemblies that have the Allow...
7
by: oscartheduck | last post by:
Hi folks, I'm trying to alter a program I posted about a few days ago. It creates thumbnail images from master images. Nice and simple. To make sure I can match all variations in spelling of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.