0 Replies - 2367 Views - Last Post: 25 October 2013 - 09:29 AM

#1 djgomez23  Icon User is offline

  • New D.I.C Head

Reputation: 18
  • View blog
  • Posts: 45
  • Joined: 23-September 13

Working with WebBrowser Control of Windows Phone

Posted 25 October 2013 - 09:29 AM

In WinForms, I can do the code below which gets the elements based on their name and sets their value to something. However, I noticed that the WebBrowser control of Windows Phone cannot do the same and classes such as HTMLElementCollection are not even defined. How do you convert this code so that it can work with the WebBrowser control of Windows Phone?

Dim Elems As HtmlElementCollection
        Dim elements As New ArrayList
        Elems = WebBrowser1.document.All.GetElementsByName("user_id")
        For Each Elem As HtmlElement In Elems
            Elem.SetAttribute("value", "test")
        Next


Is This A Good Question/Topic? 0
  • +

Page 1 of 1