can you see the page, or do you mean you want to the code to read if the page loaded
Can i request for a tutorial for document_completed for webbroswer.
i am still having trouble trying to check if the page is loaded or not.
can you see the page, or do you mean you want to the code to read if the page loaded
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
Moved to tutorial request section
You can use a Timer that checks readystate, isbusy, or use DocumentComplete(), I already expressed the two most common ways, but I take it those didn't work for you.
actual use:Code:If WebBrowser1.IsBusy then 'do nothing Else 'Your code here End If
I tested 5 times, worked every time.Code:If WebBrowser1.IsBusy Then 'do nothing Else WebBrowser1.Document.GetElementById("DataPanel1_TitleLink").InvokeMember("click") System.Threading.Thread.Sleep(1000) WebBrowser1.Document.GetElementById("forum__ctl0_edit").InnerText = "This Works" End If
Hope this helps you
Last edited by NextGen1; 02-24-2010 at 01:37 AM.
CyberGenius (02-24-2010),Zoom (02-24-2010)