|
-
Apr 19th, 2009, 12:26 AM
#1
Thread Starter
Member
[RESOLVED] Webbrowser - Invoke click without having a name?
Alright, all I want to do is submit a form on this website.
The program is simple enough - automatically logs me into the site.
For reference; the website is ( http://kingsofchaos.com )
I know, the game is lame.. I enjoy it though xD
Anyway, I have already figured out how to fill in User/Pass fields.
But I am having problems understanding how to access the Login button.
It should be simple, but the button itself is not assigned a name at all.
Here is the only information given on the button itself ><
Code:
<input class="login_input" value="Login" style="width: 50px;" type="submit">
WebBrowser1.Document.All(" -?- ").InvokeMember("click")
^ This is the code I assume would work pending it had a name.
How ever, it does not have a name - so what do I do?
If anyone knows any alternative methods I would really appreciate it.
Thanks in advance!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|