Results 1 to 6 of 6
  1. #1
    boyd45's Avatar
    Join Date
    Apr 2008
    Gender
    male
    Location
    behind my lapt0p
    Posts
    88
    Reputation
    10
    Thanks
    20
    My Mood
    Yeehaw

    Exclamation vb08 disable a textbox>> yes or no <<

    hello all i am making by autotalker better now i wanna make a choise option with 2 radiobuttons like:

    radiobutten1: use 1 textbox
    radiobutten2: use 2 textboxes

    i got a form that has a interval in seconds some labels and 1 timer 2 buttens and 2 textboxes

    now i try to find the code to disable a textbox googled like a hour but couldnt find anything can some1 help me ?

    here is my coding:

    Code:
    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
            SendKeys.Send(TextBox1.Text)
            SendKeys.Send("{enter}")
            SendKeys.Send("{enter}")
    
            SendKeys.Send(TextBox2.Text)
            SendKeys.Send("{enter}")
            SendKeys.Send("{enter}")
        End Sub"
    
    
    
    Timer1.Interval = NumericUpDown1.Value * 1000


    please help me !
    50+ posts [x]
    100+ posts [ ]
    500+ posts [ ]
    1000+ posts [ ]
    released own hack [x]


    learning C++
    getting better with vb2008

  2. #2
    Micheltjuh's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Location
    Holland
    Posts
    643
    Reputation
    10
    Thanks
    59
    My Mood
    Cynical
    easiest would be to add a different time for textbox 2 and just disable/enable the timer.

  3. #3
    boyd45's Avatar
    Join Date
    Apr 2008
    Gender
    male
    Location
    behind my lapt0p
    Posts
    88
    Reputation
    10
    Thanks
    20
    My Mood
    Yeehaw
    Quote Originally Posted by Micheltjuh View Post
    easiest would be to add a different time for textbox 2 and just disable/enable the timer.
    tryd it but then the timer always starts so it keeps typing
    50+ posts [x]
    100+ posts [ ]
    500+ posts [ ]
    1000+ posts [ ]
    released own hack [x]


    learning C++
    getting better with vb2008

  4. #4
    K4GE's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Posts
    311
    Reputation
    13
    Thanks
    65
    My Mood
    Inspired
    Hide them?


    Textbox1.Hide()


    or something?

  5. #5
    boyd45's Avatar
    Join Date
    Apr 2008
    Gender
    male
    Location
    behind my lapt0p
    Posts
    88
    Reputation
    10
    Thanks
    20
    My Mood
    Yeehaw
    Quote Originally Posted by K4GE View Post
    Hide them?


    Textbox1.Hide()


    or something?
    mm good idea i will try
    50+ posts [x]
    100+ posts [ ]
    500+ posts [ ]
    1000+ posts [ ]
    released own hack [x]


    learning C++
    getting better with vb2008

  6. #6
    boyd45's Avatar
    Join Date
    Apr 2008
    Gender
    male
    Location
    behind my lapt0p
    Posts
    88
    Reputation
    10
    Thanks
    20
    My Mood
    Yeehaw
    doesnt works in presses enter when you click textbox it got a error =(
    50+ posts [x]
    100+ posts [ ]
    500+ posts [ ]
    1000+ posts [ ]
    released own hack [x]


    learning C++
    getting better with vb2008

Similar Threads

  1. Yes, this is a request thread.
    By Doom Inductor in forum Spammers Corner
    Replies: 24
    Last Post: 05-27-2017, 10:36 PM
  2. Yes, this is a request thread.
    By Kyojiro in forum Spammers Corner
    Replies: 6
    Last Post: 12-11-2006, 05:20 PM
  3. Unofficial MPGH Comic #2!! (Yes already. >.>)
    By SadisticGrin in forum General
    Replies: 47
    Last Post: 08-01-2006, 12:00 AM
  4. Does it realy work (pb disabler)
    By jeremywilms in forum WarRock - International Hacks
    Replies: 6
    Last Post: 06-13-2006, 11:43 AM
  5. Yes!!!
    By arunforce in forum Entertainment
    Replies: 5
    Last Post: 05-28-2006, 06:31 PM

Tags for this Thread