I am making a yt account creator in C# with webbrowser control.
but how can I choose "january" as birth month by clicking button1 in my application. what code should I write in button1 click event.
youtube register page:
http://anoney.com/?https://accounts.google.com/SignUp?followup=http%3A%2F%2Fwww.youtube.com%2Femail_confirm&continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26nomobiletemp%3D1%26feature%3Dheader%26next%3D%252F%26hl%3Den_US%26new%3Dtrue<mpl=sso&service=youtube&hl=en_US
Loading

Csharp Ninja96 reputationPosted Apr 10, 2012, 9:57 AM EDT
Csharp Ninja96 reputationPosted Apr 10, 2012, 10:26 AM EDT
webBrowser1.Document.GetElementById("BirthMonth").SetAttribute("value", "01");
but that doesn't work!
Csharp Ninja96 reputationPosted Apr 10, 2012, 11:12 AM EDT
I have to send my software in 3 hours.
Csharp Ninja96 reputationPosted Apr 10, 2012, 11:22 AM EDT
Prime bRank #2,035 · 712 reputationPosted Apr 10, 2012, 12:16 PM EDT
Csharp Ninja96 reputationPosted Apr 11, 2012, 4:41 AM EDT
webBrowser1.Document.GetElementById("HiddenBirthMonth").SetAttribute("value", "01");
and it worked. but I didn't see it on visual because youtube has some problems. but combobox changed in html codes.
Sam HobbsRank #107 · 20.5K reputationPosted Apr 11, 2012, 11:39 AM EDT
Congratulations on figuring it out. I know this stuff can be frustrating.
Csharp Ninja96 reputationPosted Apr 11, 2012, 12:54 PM EDT
Don't worry! I know if you had seen this, you would have tried.
you always helped me. Thanks