Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

Need help with autofill webform

Hello lads, i want to help one friend with this , its some kind of donation. But i want to create simple program where i can autofill and send automatically with timer instead of doing it manually, but i stucked here
Code
webBrowser1.Document.GetElementById("submit").InvokeMember("Click");
basically username/email and message box are working but only the button called "Click to tip" gives Object reference not set to an instance of an object, where is the problem ?
Жизнь это не те дни, что прошли, а те, что запомнились

1. usually submit is used more than once and not as a global object so I suggest you look into XPath's
I can't post links but I can remove the resource identifiers ;)
w3schools DOT com/xml/xpath_syntax DOT asp
2. WebRequests! Look into them!

I could just as easily give you the neccessary code but you know the old saying.. Give a man a snippet of code and he'll compile for a day. Teach a man a snippet of code and he'll be able to debug and compile always.

I can help you on Skype if you add me@live:wamfyssz
You're right i will try to figure it out, thank you man ;)
Жизнь это не те дни, что прошли, а те, что запомнились
(May 13, 2017 11:18 AM)dzvtkfuqqe Wrote:  Give a man a snippet of code and he'll compile for a day. Teach a man a snippet of code and he'll be able to debug and compile always.

Amazing quote
(May 13, 2017 11:20 AM)Dotexe Wrote:  You're right i will try to figure it out, thank you man ;)

I did not neccessarily mean figure it out on your own, but I can help you on Skype if you want.
Not home yet, i will contact you if i face a problem buddy, still thanks a lot !
Жизнь это не те дни, что прошли, а те, что запомнились


Possibly Related Threads...
Thread / Author Replies Views Last Post
by joakimegMar 15, 2024 08:49 AM 0 149 Mar 15, 2024 08:49 AM
Last Post: joakimeg
[C#] by PawnhubMay 15, 2019 11:06 PM 0 154 May 15, 2019 11:06 PM
Last Post: Pawnhub
[Python] by UserAtHFJan 2, 2019 11:50 AM 18 584 Jan 2, 2019 11:50 AM
Last Post: UserAtHF