Click here to Skip to main content
16,005,141 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# references Pin
classy_dog19-Sep-11 6:17
classy_dog19-Sep-11 6:17 
GeneralRe: C# references Pin
Rob Philpott19-Sep-11 6:28
Rob Philpott19-Sep-11 6:28 
GeneralRe: C# references Pin
classy_dog19-Sep-11 9:21
classy_dog19-Sep-11 9:21 
GeneralRe: C# references Pin
Richard MacCutchan19-Sep-11 7:36
mveRichard MacCutchan19-Sep-11 7:36 
GeneralRe: C# references Pin
classy_dog19-Sep-11 9:20
classy_dog19-Sep-11 9:20 
GeneralRe: C# references Pin
Richard MacCutchan19-Sep-11 9:28
mveRichard MacCutchan19-Sep-11 9:28 
QuestionHow can I pre-cache web pages to show in Forms.WebBrowser Pin
Linus Lund18-Sep-11 11:33
Linus Lund18-Sep-11 11:33 
AnswerRe: How can I pre-cache web pages to show in Forms.WebBrowser Pin
Luc Pattyn18-Sep-11 12:29
sitebuilderLuc Pattyn18-Sep-11 12:29 
Assuming you can predict the pages of interest, you could have one or a few threads fetching those pages (using either WebClient or HttpWebRequest), then stuff the required one in WebBrowser.DocumentText; however the net result might be less than you'd hope for, as nowadays web pages often require additional loads (such as javascript files, CSS files, images, etc), and, unless you parse the page document yourself, those would not be fetched simply by instructing WebClient/HttpWebRequest to load the main pages.

Another approach could be to have a number of WebBrowser controls, not necessarily present and visible (to be checked!) on one of your Forms; and use their Navigate() method. That should go fetch the entire web page, including all dependencies, and all those files would automatically end up in the Windows caching system, so as soon as your regular WebBrowser asks for the same pages, they should come up pretty quickly.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: How can I pre-cache web pages to show in Forms.WebBrowser Pin
5fingers18-Sep-11 23:56
5fingers18-Sep-11 23:56 
GeneralRe: How can I pre-cache web pages to show in Forms.WebBrowser Pin
Pete O'Hanlon19-Sep-11 0:00
mvePete O'Hanlon19-Sep-11 0:00 
GeneralRe: How can I pre-cache web pages to show in Forms.WebBrowser Pin
5fingers19-Sep-11 0:02
5fingers19-Sep-11 0:02 
GeneralRe: How can I pre-cache web pages to show in Forms.WebBrowser Pin
Pete O'Hanlon19-Sep-11 0:06
mvePete O'Hanlon19-Sep-11 0:06 
GeneralRe: How can I pre-cache web pages to show in Forms.WebBrowser Pin
Linus Lund19-Sep-11 1:38
Linus Lund19-Sep-11 1:38 
AnswerRe: How can I pre-cache web pages to show in Forms.WebBrowser Pin
Luc Pattyn19-Sep-11 2:24
sitebuilderLuc Pattyn19-Sep-11 2:24 
QuestionC# data validation Pin
Tom Paronis18-Sep-11 9:15
Tom Paronis18-Sep-11 9:15 
AnswerRe: C# data validation Pin
PIEBALDconsult18-Sep-11 16:59
mvePIEBALDconsult18-Sep-11 16:59 
AnswerRe: C# data validation Pin
5fingers19-Sep-11 0:01
5fingers19-Sep-11 0:01 
GeneralRe: C# data validation Pin
Tom Paronis19-Sep-11 10:38
Tom Paronis19-Sep-11 10:38 
QuestionUSB Storage Control Tool Pin
saeed karimi18-Sep-11 8:35
saeed karimi18-Sep-11 8:35 
Generalthis image to word convert times new romens software Pin
reetsh18-Sep-11 4:12
reetsh18-Sep-11 4:12 
GeneralRe: this image to word convert times new romens software Pin
Richard MacCutchan18-Sep-11 4:51
mveRichard MacCutchan18-Sep-11 4:51 
Questionlock mouse cursor and click on screen aoutomatic? Pin
MAHDI_GORDAN18-Sep-11 0:14
MAHDI_GORDAN18-Sep-11 0:14 
AnswerRe: lock mouse cursor and click on screen aoutomatic? Pin
Ravi Bhavnani18-Sep-11 5:40
professionalRavi Bhavnani18-Sep-11 5:40 
QuestionPivot View Pin
Tauseef A17-Sep-11 7:47
Tauseef A17-Sep-11 7:47 
AnswerRe: Pivot View Pin
DaveAuld17-Sep-11 8:44
professionalDaveAuld17-Sep-11 8:44 

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.