hit a url without a browser

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi all,
I have created a web app in which I want to hit url's without opening a
browser window. I have tried to use the following objects:

ie = New SHDocVw.InternetExplorerClass
wb = CType(ie, IWebBrowserApp)
wb.Visible = False
wb.Navigate("myurl")

after a few hits I get a "Out of Memory" message

does anyone know any other way to do this?

please help!
 
saxone said:
hi all,
I have created a web app in which I want to hit url's without opening
a browser window. I have tried to use the following objects:

ie = New SHDocVw.InternetExplorerClass
wb = CType(ie, IWebBrowserApp)
wb.Visible = False
wb.Navigate("myurl")

after a few hits I get a "Out of Memory" message

does anyone know any other way to do this?

Using IE from a serverside class is a weird idea indeed ;-)

If you want your ASP.NET application to act as a HTTP client, use
System.Net.WebClient or System.Net.WebRequest.

Cheers,
 
Back
Top