Add WebControl to a .NET web service

  • Thread starter Thread starter bramirez
  • Start date Start date
B

bramirez

Greetings,

I'd like to create a web service that uses a reference to the
Microsoft Internet Control. Is this possible? I've already created
VB.NET application that essentially scrapes the contents of an HTML
page. It works perfectly. I would now like to add the same
functionality to a web service.

This is what I have so far, but doesn't work. Complains about the
webbrowser not being initialized...

Dim ww As SHDocVw.WebBrowserClass
ww = New SHDocVw.WebBrowserClass()

ww.Navigate("http://www.yahoo.com")

I've heard of references to executing the required dll's so that they
are running on the server and then access them via the web service.

Any help is appreciated.

Regards,
Baldy
 
Hi,

You can use .Net WebRequest and WebResponse to get site HTML instead of
using COM object.

Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
 

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

Back
Top