Hack Forums
[.NET] [ VB.NET Searching] How to click a button [Searching] - 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] [ VB.NET Searching] How to click a button [Searching] (/showthread.php?tid=506354)



[ VB.NET Searching] How to click a button [Searching] - 0dayleet - Jun 27, 2010

So here is the code:
Code
<input type="button" value="Enregistrer" onclick="onSubmitToolbarItemClicked('SaveContact','');" class="UiButton">
^

I'm trying to do this:
When someone click the button1 in my program, it will click the 'Save' button in the webbrowser. The code of the Save button on the page is up ^
What would be the code for that ?

Thanks in advance, Julie


* - 0dayleet - Jun 28, 2010

No one know how I could do it please?


* - Bitwin - Jun 28, 2010

Could you share the webbpage ?
Edit:
Forget it, this worked for me:
[IMG]http://i47.[censored].com/t0412r.jpg[/IMG]


* - 0dayleet - Jun 28, 2010

(Jun 28, 2010 01:34 PM)C00k13 Wrote:  Could you share the webbpage ?
Edit:
Forget it, this worked for me:
[IMG]http://i47.[censored].com/t0412r.jpg[/IMG]

Yes but it's not every time that it is "Enregistrer" it depends of the language of the user's choice ...


* - Bitwin - Jun 28, 2010

(Jun 28, 2010 01:53 PM)Julie Wrote:  Yes but it's not every time that it is "Enregistrer" it depends of the language of the user's choice ...
Edit again:
Here:
[img]http://content.screencast.com/users/kjekse/folders/Snagit/media/c8052deb-f961-4f16-88ea-520c5b42fc01/06.28.2010-23.30.08.png[/img]


* - H3x0S - Jun 28, 2010

Use my function:

https://hackforums.net/showthread.php?tid=506467