I want to make this code:
Code: Select all
wb := ComObjCreate("InternetExplorer.Application")
wb.Visible := false
wb.navigate2("www.speedtest.net")
sleep,1000
while (wb.busy || wb.readystate != 4)
sleep , 100
I found this
http://visualbasic.a.../proc_html2.htm
whith a solution in VB.NET
Code: Select all
Web Pages Using VB.NET
In VB.NET, you can add a reference to ShDocVw.dll (in Windows/System32) using theBrowse tab in Add Reference) and open an instance of IE 8 using the new "InPrivate" mode.
Dim TheBrowser = New SHDocVw.InternetExplorerMedium
TheBrowser.Visible = True
TheBrowser.Navigate( _
URL:="http://visualbasic.about.com")
Also I know a way to make it work by starting the IE in private mode.
Then find the pointer of IE and then hide the window .
The problem is that with this way the window shows up then find the pointer and then hide.