ComboBox - GetElementByID

Welcome to CPAElites - the original incentive CPA affiliate marketing forum online, solely based on "Cost Per Action".

Be a part of something great, join today! Learn CPA marketing with CPAElites, we will teach you everything such as the best CPA networks, CPA offers with highest payouts and best conversion rates, unsaturated CPA niches, most effective traffic sources and more.

Status
Not open for further replies.

GraveYard

Well-known member
VIP Legends CPAElites Classic (1.0)
VIP Elites CPAElites Classic (1.0)
Joined
April 21, 2013
Messages
273
Reaction score
0
Age
25
I need to pick a random value from a Combobox in Webbrowser
i see somewhere something with Invoke Click but i don't have ideea how to use it
somelsf.png


WebBrowser1.Document.GetElementById("month-label").SetAttribute("value", ComboBox1)


At first element i have this code:
month-label
And second elemet is someting like
:2
:3
:4


Hmm, i don't have idea how to explain better

I need a code that allow me to pick a random Month of Combobox
I need to select a random Month from Birthday
https://accounts.google.com/SignUp?continue=https://www.google.com/&lp=1&hl=en



SORRY FOR MY ENGLISH
AND ALL....

I resolve with this
Dim element As HtmlElement = WebBrowser1.Document.GetElementById("BirthMonth")
Dim month As HtmlElement = element.GetElementsByTagName("option").Cast(Of HtmlElement).First(Function(el) el.GetAttribute("value") = "05")
month.SetAttribute("selected", "true")
 
Status
Not open for further replies.
Top Bottom