Hi
Im tryingto create/run a webbrowser control so that i can check the status. I dont need to see the page so havent placed the webbrowser control on a form - its just in code as follows:
the problem is that it never initialises and is always at the state 'Uninitialized'Code:Sub TestBrowse(ByVal url As String) Dim testbrowse As New WebBrowser testbrowse.Navigate(url) System.Threading.Thread.Sleep(5000) MsgBox("Status - " & testbrowse.ReadyState.ToString) End Sub
do i have to do something to the control to get it to run, or does it have to be physically on a form before i can use a web browse control
regards


LinkBack URL
About LinkBacks




Reply With Quote



Bookmarks