About Syed Adeel Rizvi Expertise I can answers questions regarding web based and desktop based programming in VB.Net. Which can include XML, Custom Controls + Computer Hardware and Windows Turboshooting...etc.
More Skills :
1 . PHP - > All Type Of CMS e.g. (Joomla,Drupul,PHPNuke...etc)
2 . ASP
3 . ASP.Net
4 . CMS
5 . MySql
6 . SQl Server 2000 & 2005
7 . Ms Access
8 . Web Designing
9 . Networking Turboshooting
10 . Windows Turboshooting
11 . Hardware Turboshooting
All Type Of Work Related To IT
I also Do Work as a Freelance as Application & Web Developer & Designer
Experience i have 3 years work experience in software house and 4 years work experience for computer hardware and Networking..
Question I've been messing around with some basic web automation using visual basic. I can get it to read/write/navigate through the web, but I'm having a problem with the code running too fast for the web browser.
For example:
Sub Main()
wb.navigate("http://google.com")
wb.document.all("q").setattribute("Value", "hello world")
End Sub
This would normally set the search field in google to the value "hello world." However the web browser is still loading when it tries to do this. I've tried a loop that looks like this in between:
Do
Loop Until wb.readystate = 4
But it still doesn't read correctly. Is there a simple way to make visual basic wait for the page to load before preceding? Any help would be greatly appreciated. Thanks for your time,
Joshua
Answer Hello Sir,
its so easy
use this
Private Sub wb_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles wb.DocumentCompleted