FAST C# Auto Talker

Discussion in 'Programming General' started by Molotov, Nov 25, 2009.

FAST C# Auto Talker
  1. Unread #1 - Nov 25, 2009 at 2:20 PM
  2. Molotov
    Joined:
    Aug 26, 2009
    Posts:
    149
    Referrals:
    0
    Sythe Gold:
    0

    Molotov Active Member
    Banned

    FAST C# Auto Talker

    Hey guys, I know there is like 53043435 threads about this. But this one is far the easiest one, BUT the fastest one you'll come across :). ( me being cocky ), anyhow, I'm gonna write a tutorial on how this is done, so if your wanting to learn c# then, check in each week on this forum, and I'll more c# tutorials for you guys :).

    --

    Ok, first thing you need to do is just start a new windows form application, and name it whatever you want.

    Then you'll need to add 3 text boxes, 1 timer, 2 command buttons.

    Name the 2 command buttons " Start, and Stop "

    --

    Double click on the timer, and you should see the page where you input the code. Now insert this :

    Code:
    SendKeys.Send(textBox1.Text);
    SendKeys.Send("{ENTER}");
    SendKeys.Send(textBox2.Text);
    SendKeys.Send("{ENTER}");
    SendKeys.Send(textBox3.Text);
    SendKeys.Send("{ENTER}");
    Double click on the Start command button and add this :

    Code:
    timer1.Enabled = true;
    Double click on the Stop command button and add this :

    Code:
    timer1.Enabled = false;
    Now test the app, and I suggest only putting 1 box of text in. If you put 3, it will be extremely fast lol.

    --

    Congrats, you just made your first program in C# :)
     
  3. Unread #2 - Dec 1, 2009 at 11:45 AM
  4. Supah Fly
    Joined:
    Aug 22, 2007
    Posts:
    202
    Referrals:
    1
    Sythe Gold:
    0

    Supah Fly Active Member
    Banned

    FAST C# Auto Talker

    might as well just put a while loop in there

    timers :(
     
  5. Unread #3 - Dec 17, 2009 at 9:20 PM
  6. war833
    Joined:
    Dec 11, 2008
    Posts:
    82
    Referrals:
    0
    Sythe Gold:
    0

    war833 Member

    FAST C# Auto Talker

    While loops try to do it too fast and wind up doing it slower.
     
  7. Unread #4 - Dec 18, 2009 at 1:16 AM
  8. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    FAST C# Auto Talker

    LEARN TO USE THREADS. JESUS.

    Timers make me want to /life.
     
< VB Tutorial set: 1. Introduction | Community Sources & Tutorials List >

Users viewing this thread
1 guest


 
 
Adblock breaks this site