hit a url without a browser

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!
 
J

Joerg Jooss

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top