Click here to Skip to main content
15,921,212 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to convert unicode to int in C#? Pin
Vikram A Punathambekar3-Apr-07 7:07
Vikram A Punathambekar3-Apr-07 7:07 
AnswerRe: how to convert unicode to int in C#? Pin
Wayne Phipps3-Apr-07 9:32
Wayne Phipps3-Apr-07 9:32 
GeneralRe: how to convert unicode to int in C#? Pin
OmarLodhi3-Apr-07 15:34
OmarLodhi3-Apr-07 15:34 
GeneralRe: how to convert unicode to int in C#? Pin
Vikram A Punathambekar3-Apr-07 18:23
Vikram A Punathambekar3-Apr-07 18:23 
GeneralRe: how to convert unicode to int in C#? Pin
OmarLodhi3-Apr-07 21:26
OmarLodhi3-Apr-07 21:26 
Questionhow to use webbrowserControl Pin
pashitech3-Apr-07 6:22
pashitech3-Apr-07 6:22 
AnswerRe: how to use webbrowserControl Pin
Douglas Troy3-Apr-07 6:30
Douglas Troy3-Apr-07 6:30 
QuestionJust problems... Pin
lost in transition 3-Apr-07 5:39
lost in transition 3-Apr-07 5:39 
AnswerRe: Just problems... Pin
Vikram A Punathambekar3-Apr-07 7:09
Vikram A Punathambekar3-Apr-07 7:09 
GeneralRe: Just problems... Pin
lost in transition 3-Apr-07 8:01
lost in transition 3-Apr-07 8:01 
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 
Thanks again Douglas!

I hear what you are saying, I just don't know what process to run that will refresh the WebBroswer.ReadyState until it is completed. What event or process can I keep running that will get me to WebBrowserReadyState.Complete before I run the capture code.

Here is some of the code:

       private void frmMain_Load(object sender, EventArgs e)<br />
        {<br />
            Initialize_Site(null, null);<br />
<br />
            string WebReady = axWebCap.ReadyState.ToString();<br />
<br />
            while (WebReady != "READYSTATE_COMPLETE")<br />
            {<br />
                WebReady = axWebCap.ReadyState.ToString();<br />
            }<br />
<br />
        }<br />
<br />
        private void frmMain_Activated(object sender, System.EventArgs e)<br />
        {<br />
            button1_Click(null, null); //This runs the capture code<br />
        }<br />
<br />
        private void Initialize_Site(object sender, EventArgs e)<br />
        {<br />
            TextReader WebConfig = new StreamReader(@"c:\\IECapture\config.txt");<br />
<br />
            int LineCount = 4;<br />
            string[] ConfigLines = new string[LineCount];<br />
<br />
            for (int i = 1; i < LineCount; i++)<br />
            {<br />
                ConfigLines[i] = WebConfig.ReadLine();<br />
            }<br />
<br />
            string Address = ConfigLines[1];<br />
            axWebCap.Navigate(Address);<br />
<br />
        }


Thanks,
Justin
GeneralRe: Help with automated html to image capture [modified] Pin
Douglas Troy3-Apr-07 7:09
Douglas Troy3-Apr-07 7:09 
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 

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.