Add WebControl to a .NET web service

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Add WebControl to a .NET web service

    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
    bramirez Guest

  2. Similar Questions and Discussions

    1. Datagrid In a webcontrol
      I have a datagrid with Edit/Delete columns in a webcontrol. I load this control dynamically based on users' selection from a table dropdownlist....
    2. Custom webcontrol that references another webcontrol
      My custom webcontrol has a TextBox property, but after I had set the value in design time (choosing some TextBox), this property value is not...
    3. WebControl inside of WebControl and attaching events
      I have built a navigation custom web control that I have been placing on various pages without issue. When one of the image buttons within the...
    4. Can a webcontrol (webcontrol.dll) have a configuration file?
      Hello everybody: I would like to know if a webcontrol (webcontrol.dll) can have a configuration file (webcontrol.dll.config)? I have done some...
    5. Composite webcontrol
      I have just built my first custom control draws a html wrapper to the screen around the content of the server control tag. Eg <myc:MyPanel .....>...
  3. #2

    Default Re: Add WebControl to a .NET web service

    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


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139