Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
Answer[Message Deleted] Pin
Prajeesh26-Feb-09 16:39
Prajeesh26-Feb-09 16:39 
GeneralRe: Delete in Richtextbox? Pin
Eddy Vluggen26-Feb-09 21:06
professionalEddy Vluggen26-Feb-09 21:06 
QuestionStront typing error Pin
kanchoette24-Feb-09 22:17
kanchoette24-Feb-09 22:17 
AnswerRe: Stront typing error Pin
kanchoette24-Feb-09 23:41
kanchoette24-Feb-09 23:41 
QuestionQ: How to serialize layer structure Pin
pandd24-Feb-09 21:13
pandd24-Feb-09 21:13 
AnswerRe: Q: How to serialize layer structure Pin
J4amieC24-Feb-09 22:39
J4amieC24-Feb-09 22:39 
GeneralRe: Q: How to serialize layer structure Pin
pandd24-Feb-09 23:52
pandd24-Feb-09 23:52 
QuestionHow to retrieve images from webbrowser control without reload? Pin
WebFormSubmitter24-Feb-09 21:08
WebFormSubmitter24-Feb-09 21:08 
Hello everybody.
Let's imagine we have webbrowser control navigated to http://www.codeproject.com, so top banner image advert.gif shows ad1 picture (generated randomly).

How to save this image to the hard drive without requesting it from the server a second time?

If we try to retreive it once again, the advert.gif will show another ad picture, not the one from webbrowser control. I mean the following sample is not ok:

System.Net.WebClient wc = new System.Net.WebClient();
HtmlElementCollection imgs = this.webBrowser1.Document.GetElementsByTagName("img");
for (int i = 0; i < imgs.Count; i++)
{
wc.DownloadFile(imgs[i].GetAttribute("src"), "c:\\images" + i.ToString() + ".jpg");
}
AnswerRe: How to retrieve images from webbrowser control without reload? Pin
Curtis Schlak.25-Feb-09 10:08
Curtis Schlak.25-Feb-09 10:08 
GeneralThanks! But how to extraxt already loaded image from the webbrower? Pin
WebFormSubmitter26-Feb-09 8:57
WebFormSubmitter26-Feb-09 8:57 
GeneralRe: Thanks! But how to extraxt already loaded image from the webbrower? Pin
Curtis Schlak.26-Feb-09 10:34
Curtis Schlak.26-Feb-09 10:34 
Questiona serialization problem Pin
abhiram_nayan24-Feb-09 20:53
abhiram_nayan24-Feb-09 20:53 
AnswerRe: a serialization problem Pin
Expert Coming24-Feb-09 22:36
Expert Coming24-Feb-09 22:36 
GeneralRe: a serialization problem Pin
abhiram_nayan25-Feb-09 0:50
abhiram_nayan25-Feb-09 0:50 
QuestionThread Pin
Ammu S24-Feb-09 20:33
Ammu S24-Feb-09 20:33 
AnswerRe: Thread Pin
Rob Philpott24-Feb-09 21:19
Rob Philpott24-Feb-09 21:19 
AnswerRe: Thread Pin
Krishnraj24-Feb-09 23:11
Krishnraj24-Feb-09 23:11 
GeneralRe: Thread Pin
Megidolaon25-Feb-09 22:13
Megidolaon25-Feb-09 22:13 
QuestionSimple Threading (VS 2005) Example Pin
WinSolution24-Feb-09 20:33
WinSolution24-Feb-09 20:33 
AnswerRe: Simple Threading (VS 2005) Example Pin
J a a n s24-Feb-09 20:41
professionalJ a a n s24-Feb-09 20:41 
GeneralRe: Simple Threading (VS 2005) Example Pin
WinSolution24-Feb-09 20:48
WinSolution24-Feb-09 20:48 
AnswerRe: Simple Threading (VS 2005) Example Pin
prasadbuddhika24-Feb-09 20:45
prasadbuddhika24-Feb-09 20:45 
GeneralRe: Simple Threading (VS 2005) Example Pin
WinSolution24-Feb-09 21:04
WinSolution24-Feb-09 21:04 
GeneralRe: Simple Threading (VS 2005) Example Pin
ABitSmart24-Feb-09 21:52
ABitSmart24-Feb-09 21:52 
AnswerRe: Simple Threading (VS 2005) Example Pin
Cracked-Down24-Feb-09 23:36
Cracked-Down24-Feb-09 23:36 

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.