Click here to Skip to main content
15,886,774 members
Home / Discussions / C#
   

C#

 
QuestionXml Confusion Pin
Mark F.3-Apr-07 5:24
Mark F.3-Apr-07 5:24 
AnswerRe: Xml Confusion Pin
kubben3-Apr-07 6:03
kubben3-Apr-07 6:03 
QuestionHelp with automated html to image capture Pin
justlee73-Apr-07 5:10
justlee73-Apr-07 5:10 
AnswerRe: Help with automated html to image capture Pin
Douglas Troy3-Apr-07 5:45
Douglas Troy3-Apr-07 5:45 
GeneralRe: Help with automated html to image capture Pin
justlee73-Apr-07 5:57
justlee73-Apr-07 5:57 
GeneralRe: Help with automated html to image capture Pin
Douglas Troy3-Apr-07 6:15
Douglas Troy3-Apr-07 6:15 
GeneralRe: Help with automated html to image capture Pin
justlee73-Apr-07 6:48
justlee73-Apr-07 6:48 
GeneralRe: Help with automated html to image capture [modified] Pin
Douglas Troy3-Apr-07 7:09
Douglas Troy3-Apr-07 7:09 
You need only add a call to Application.DoEvents(); That will tell your application to pump messages and whatnot while you wait for the ReadyState to change ... so in your code, you would

private void frmMain_Load(object sender, EventArgs e)
{
Initialize_Site(null, null);

string WebReady = axWebCap.ReadyState.ToString();

while (WebReady != "READYSTATE_COMPLETE")
{
// tell application to process pending events
Application.DoEvents();
// get the readystate
WebReady = axWebCap.ReadyState.ToString();
}

//add your capture code here ...
}




-- modified at 16:19 Tuesday 3rd April, 2007




:..::. Douglas H. Troy ::..

Bad Astronomy |VCF|wxWidgets|WTL

GeneralRe: Help with automated html to image capture Pin
justlee73-Apr-07 10:20
justlee73-Apr-07 10:20 
GeneralRe: Help with automated html to image capture Pin
Douglas Troy3-Apr-07 10:41
Douglas Troy3-Apr-07 10:41 
GeneralRe: Help with automated html to image capture Pin
justlee73-Apr-07 10:44
justlee73-Apr-07 10:44 
GeneralRe: Help with automated html to image capture Pin
Douglas Troy3-Apr-07 19:50
Douglas Troy3-Apr-07 19:50 
QuestionDrag and drop listview Pin
Diego F.3-Apr-07 5:03
Diego F.3-Apr-07 5:03 
AnswerRe: Drag and drop listview Pin
led mike3-Apr-07 6:01
led mike3-Apr-07 6:01 
GeneralRe: Drag and drop listview Pin
Diego F.3-Apr-07 21:52
Diego F.3-Apr-07 21:52 
QuestionHow to save Excel object for further use? Pin
BlackBar3-Apr-07 4:40
BlackBar3-Apr-07 4:40 
AnswerRe: How to save Excel object for further use? Pin
Douglas Troy3-Apr-07 5:35
Douglas Troy3-Apr-07 5:35 
GeneralRe: How to save Excel object for further use? Pin
BlackBar3-Apr-07 8:55
BlackBar3-Apr-07 8:55 
QuestionSQL Files Pin
hadad3-Apr-07 4:20
hadad3-Apr-07 4:20 
AnswerRe: SQL Files Pin
Douglas Troy3-Apr-07 7:15
Douglas Troy3-Apr-07 7:15 
Questionuse panel inside a user control to drop controls in and make this panel locked. Pin
Johnny Hooyberghs3-Apr-07 3:53
Johnny Hooyberghs3-Apr-07 3:53 
QuestionHow to open MyDocument Explorer, My Network places Explorer in C# Pin
Sanjib Raj3-Apr-07 2:29
Sanjib Raj3-Apr-07 2:29 
AnswerRe: How to open MyDocument Explorer, My Network places Explorer in C# Pin
kubben3-Apr-07 3:06
kubben3-Apr-07 3:06 
AnswerRe: How to open MyDocument Explorer, My Network places Explorer in C# Pin
Douglas Troy3-Apr-07 4:39
Douglas Troy3-Apr-07 4:39 
Questionhow to run exe file in ram (on the fly) ? Pin
hdv2123-Apr-07 1:58
hdv2123-Apr-07 1:58 

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.