MSN flooder

Discussion in 'Programming General' started by Waffles, Dec 1, 2007.

MSN flooder
  1. Unread #1 - Dec 1, 2007 at 8:11 AM
  2. Waffles
    Referrals:
    4

    Waffles Guest

    MSN flooder

    What do you need?:

    1 timer
    2 textboxes
    2 buttons

    What are they used for?

    timer-trigger the send command

    textboxes-let the user change the text and the time the message is sent

    buttons-start and stop

    ----------------------------------------------------------------------------------
    Building

    1.Make your layout and get everything were you want first change the button text to start the other stop etc... before you start to code

    -----------------------------------------------------------------------------
    Start button:

    Code:
    Private Sub Command1_Click()
    Timer1.Enabled = True
    End Sub

    Stop button:

    Code:
    Private Sub Command1_Click()
    Timer1.Enabled = false
    End Sub

    Timer:

    Code:
    Private Sub Timer1_Timer()
    AppActivate ("- Conversation") 'find a conversating window
    
    Timer1.Interval = Text2.Text 'sets the time for each message
    
    SendKeys Text1.Text 'send the text
    
    SendKeys "{enter}" 'press enter to send text to box
    End Sub
     
< Password Database Help | [TUT] Starting a Word Processor >

Users viewing this thread
1 guest


 
 
Adblock breaks this site