here's my code

access webpage

WebBrowser1.Navigate("http://" + TextBox1.Text + ":8080/TopAccess/Administrator/Login/Login.htm")

create folder

My.Computer.FileSystem.CreateDirectory("C:\" + TextBox2.Text)
        System.Threading.Thread.Sleep(2000)

access general page

WebBrowser1.Navigate("http://" + TextBox1.Text + ":8080/TopAccess/Administrator/Setup/General/List.htm")
        While WebBrowser1.ReadyState <> WebBrowserReadyState.Complete
            Application.DoEvents()
        End While

save page as*************this is not working

Dim myWebClient As New System.Net.WebClient
        myWebClient.DownloadFile("http://" + TextBox1.Text + ":8080/TopAccess/Administrator/Setup/General/List.htm", _
                        "C:\" + TextBox1.Text + ".html")

i don't understand why its not working - please help its driving me crazy

What error u r getting ??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.