[C#] Page-filling bot

In this video, I’ll show you how to make a basic page-filling bot in C#.

Sorry for my poor english and my bad voice.. My primary language is french.

The SendData method can be found here :

http://charnycoding.pastebin.com/Vr9m5mRB

The HTML page can be found here :

http://charnycoding.pastebin.com/HvnHnuaT

The ID of each HTML elements can be found in the source code of the page.

In this video, I’m using Visual C# 2008, Notepad++ and Firefox.

If you need some C# advices or help, you can contact me at the following email :

CharnyCoding@Hotmail.com

Duration : 0:5:0


Related Reading:

Uncategorized

Be Sociable, Share!

Technorati Tags: APPLICATION, auto, autofilling, automation, autotyper, basic, beginner, beginning, button, C#, charny, charnygames, chat, class, coder, coding, filling, Form, forms, getelementbyid, hello, id, interval, invoke, invokemember, messagebox, method, program, programming, robot, setattribute, simple, spam, spammer, thread, threads, Tutorial, Tutorials, Video, Visual, window, Windows, World

5 thoughts on “[C#] Page-filling bot

  1. Use something like …
    Use something like :

    HtmlElementCollection elements = WebBrowser.Document.All;
    foreach(HtmlElement element in elements)
    {
    if(element.GetAttributes(“name”)==NAME_HERE)
    {
    element.SetAttributes(“value”, TEXT_HERE);
    }
    }

  2. Can we get elements …
    Can we get elements by name? Some text fields on some of the websites do not have ids.

  3. You might want to …
    You might want to edit the names of your videos. There is a big difference between C# and C#.NET. Just thought I would point that out.

  4. Fyi, on your video, …
    Fyi, on your video, you set the wrong textbox for user and password. Should be flipped.

  5. Trying it out right …
    Trying it out right now!
    I tried the hello world for vb.net thing and it worked 🙂
    How to I make it into a applications sort of thing so I can load it directly, instead of going into visual Basic, then loading it.

Leave a Reply