![]() |
|
[.NET] Invoking Button Click On Webpage causes stack overflow - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] Invoking Button Click On Webpage causes stack overflow (/showthread.php?tid=5761318) |
Invoking Button Click On Webpage causes stack overflow - YourAverageTurk - Dec 1, 2017 Okay i have a winforms application and i am trying to automatically login with my details to paypal on the click of a button, The correct email:pass is passed to the login form, But when the btnLogin is invoked it throws me a Stack Overflow error and the webpage doesn't load. Here's my code: Code Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.ClickAny help is appreciated thanks ;) EDIT: I don't believe it's my code as i tried just clicking the login button on the browser non-programatically and it didn't work either :( RE: Invoking Button Click On Webpage causes stack overflow - Ninja - Dec 1, 2017 Try setting the FEATURE_BROWSER_EMULATION registry key. More info on that here: https://blogs.msdn.microsoft.com/patricka/2015/01/12/controlling-webbrowser-control-compatibility/ RE: Invoking Button Click On Webpage causes stack overflow - YourAverageTurk - Dec 2, 2017 (Dec 1, 2017 07:30 PM)Ninja Wrote: Try setting the FEATURE_BROWSER_EMULATION registry key. More info on that here: Didn't work either, I don't believe it's me or my PC, Possibly the site i'm trying to automate. Login works with google ect but not this site. RE: Invoking Button Click On Webpage causes stack overflow - YourAverageTurk - Dec 2, 2017 (Dec 2, 2017 08:48 AM)Orka Wrote: Try an alternative browser control such as gecko or awesomeium. Sounds like a good solution, I'll have to check if they're compatible with 4.5.2 framework |