none
WebBrowser1.Document.GetElementById not working! RRS feed

  • Question

  • Hello! I'am trying to make an application with vb.net, which automatically register to a website ( http://mestermc.hu/page/registration ) I tried WebBrowser1.Document.GetElementById("user_name").SetAttribute("value", "Zal") to set the username as Zal, but its not working. : / I'am a beginner. Any help? (Sorry for my bad english, I'am from Hungary.)
    Sunday, June 17, 2018 3:24 PM

Answers

  • Hi! Can you please send the code? Thank you!

    No particular code : I added the event WebBrowser1_DocumentCompleted and I copied-pasted your line of code and the field was filled with "Zal"...
    Sunday, June 17, 2018 5:28 PM

All replies