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

.NET 

(Help) Visual Basic 10 Form Filler

Hello guys i'm just starting to get into visual basic and i'm creating a form filler and I need some help with this. Pretty much i'm trying to make visual basic pick different emails to use each time it going's through.

Edit:
[Image: LBhRYxPl.jpg] here is the current formate it usings when getting up to the email part.

What I need is each time I open the program it picks different emails each time it go's through.
Pretty sure you need to set "checked" to "true", but don't quote me on that.
Can you please explain that though a bit more please proddy.
WebBrowser1.Document.GetElementById("").SetAttribute("checked", "0")
This is my error I get when debugging: http://scr.hu/1pj7/nbex4
thats because checkbox is not an ID. just use google to hep you
WebBrowser1.Document.GetElementByName("pse_216_resident").SetAttribute("CHECKED", "0")

No idea if that works. :D
I get a error when attempting to do what you said proddy. http://scr.hu/1pj7/0g2ca
http://howtostartprogramming.com/vb-net/...ithout-id/
Here's the code buddy:

Code
WebBrowser1.Document.All("pse_216_resident").SetAttribute("checked", "1")

That will tick the checkbox.
Wouldn't it be easier to use a WebClient instead of a shitty IE engine thing?
If you're going to use a webbrowser, at least use Gecko or something instead of crappy IE.
Thank you Mr.Steven it works great now.
(Jun 13, 2014 05:15 AM)GoofyMan2 Wrote:  Thank you Mr.Steven it works great now.
You're welcome.

Keep in mind though that using the default web-browser is often not the best solution, depending on what you want to do, you might want to use HTTPWebRequests so when you have time, look it up.
(Jun 13, 2014 05:14 AM)Fafaffy Wrote:  Wouldn't it be easier to use a WebClient instead of a shitty IE engine thing?
If you're going to use a webbrowser, at least use Gecko or something instead of crappy IE.

If he can't manage WebBrowsers I don' think he can manage WebClients :/
Just reedited my thread to my new question of which im asking.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Source] by SIM-5420967May 26, 2024 09:50 AM 2 370 May 26, 2024 09:50 AM
Last Post: xiaowanga8
[.NET] by BladabindiMay 17, 2023 12:20 AM 1 178 May 17, 2023 12:20 AM
Last Post: NyQuil
[.NET] by DrpriyaOct 4, 2022 11:17 PM 4 329 Oct 4, 2022 11:17 PM
Last Post: LeetSpeed