Click here to Skip to main content
15,566,868 members
Home / Discussions / C#
   

C#

 
GeneralRe: Image Filesize in Web Page Pin
dan21517-Apr-06 15:41
dan21517-Apr-06 15:41 
GeneralRe: Image Filesize in Web Page Pin
Ed.Poore17-Apr-06 23:20
Ed.Poore17-Apr-06 23:20 
GeneralRe: Image Filesize in Web Page Pin
dan21518-Apr-06 8:49
dan21518-Apr-06 8:49 
GeneralRe: Image Filesize in Web Page Pin
Ed.Poore18-Apr-06 13:10
Ed.Poore18-Apr-06 13:10 
GeneralRe: Image Filesize in Web Page Pin
dan21518-Apr-06 16:08
dan21518-Apr-06 16:08 
GeneralRe: Image Filesize in Web Page Pin
Ed.Poore19-Apr-06 0:41
Ed.Poore19-Apr-06 0:41 
GeneralRe: Image Filesize in Web Page Pin
dan21519-Apr-06 9:36
dan21519-Apr-06 9:36 
GeneralRe: Image Filesize in Web Page Pin
Ed.Poore19-Apr-06 10:11
Ed.Poore19-Apr-06 10:11 
dan215 wrote:
Any ideas?


Not really, apart from that my view of accessing the Temporary Internet Files is a bad idea on the whole. There are too many ifs and buts.

The thing which I should be improved is trying to eliminate the WebBrowser if you're simply using it for accessing the html to get the filename and not actually displaying it because my guess it'll be very resource hungry.

If you know that the image paths will be specified in the html page then it'd probably be more efficient to make a WebRequest or use WebClient to "download" or read the file and then use a simple parser or regular expressions to extract the image file, this way you're not creating a UI control and then not displaying it.

Just my two pennies

Ed
GeneralRe: Image Filesize in Web Page Pin
dan21519-Apr-06 12:36
dan21519-Apr-06 12:36 
GeneralRe: Image Filesize in Web Page Pin
Ed.Poore19-Apr-06 12:59
Ed.Poore19-Apr-06 12:59 
QuestionDataGridView/DataSet problem... Pin
mrkeivan17-Apr-06 8:59
mrkeivan17-Apr-06 8:59 
AnswerRe: DataGridView/DataSet problem... Pin
Drew McGhie17-Apr-06 12:02
Drew McGhie17-Apr-06 12:02 
GeneralRe: DataGridView/DataSet problem... Pin
mrkeivan18-Apr-06 9:50
mrkeivan18-Apr-06 9:50 
QuestionRichTextBox - LinkHover Event? Pin
Tristan Rhodes17-Apr-06 8:58
Tristan Rhodes17-Apr-06 8:58 
AnswerRe: RichTextBox - LinkHover Event? Pin
Ed.Poore17-Apr-06 13:18
Ed.Poore17-Apr-06 13:18 
QuestionHow to minimize a form Pin
mrkeivan17-Apr-06 8:56
mrkeivan17-Apr-06 8:56 
AnswerRe: How to minimize a form Pin
Eric Dahlvang17-Apr-06 11:42
Eric Dahlvang17-Apr-06 11:42 
AnswerRe: How to minimize a form Pin
3Dizard17-Apr-06 11:48
3Dizard17-Apr-06 11:48 
AnswerRe: How to minimize a form Pin
MSNFans17-Apr-06 19:02
MSNFans17-Apr-06 19:02 
QuestionDataTable and Update Pin
zaboboa17-Apr-06 8:15
zaboboa17-Apr-06 8:15 
Questionupdating sql server using dataGrid Pin
jbu2017-Apr-06 7:25
jbu2017-Apr-06 7:25 
AnswerRe: updating sql server using dataGrid Pin
jbu2018-Apr-06 0:50
jbu2018-Apr-06 0:50 
Questionproblem in treeview folders contents display on right side Pin
chaitanyapissay17-Apr-06 7:17
chaitanyapissay17-Apr-06 7:17 
AnswerRe: problem in treeview folders contents display on right side Pin
Ravi Bhavnani17-Apr-06 7:24
professionalRavi Bhavnani17-Apr-06 7:24 
GeneralRe: problem in treeview folders contents display on right side Pin
chaitanyapissay17-Apr-06 8:11
chaitanyapissay17-Apr-06 8:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.