Results 1 to 5 of 5
  1. #1
    deathninjak0's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    1,510
    Reputation
    12
    Thanks
    294
    My Mood
    Cool

    Smile [Help] Code for Reconnecting your internet at a certain time? [Tapper]

    I have been curious for the code, when you disconnect, and you type in a number in seconds, then it connects in that certain time. So like a Tapper that auto-reconnects.

  2. #2
    Helios283's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    127.0.0.1
    Posts
    102
    Reputation
    10
    Thanks
    2
    My Mood
    Sneaky
    I'm in Linux atm so I can't pull up VB and throw in some example code, but basically whats going on when you use a tapper is the program is taking control of your active network controller (be it wired or wireless) and shuts it off. After the specified number of seconds it turns it back on. The server reconnects to you, creating the massive lag that allows you to get the crazy kills.

  3. #3
    deathninjak0's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    1,510
    Reputation
    12
    Thanks
    294
    My Mood
    Cool
    Quote Originally Posted by Helios283 View Post
    I'm in Linux atm so I can't pull up VB and throw in some example code, but basically whats going on when you use a tapper is the program is taking control of your active network controller (be it wired or wireless) and shuts it off. After the specified number of seconds it turns it back on. The server reconnects to you, creating the massive lag that allows you to get the crazy kills.
    Yeah basically what im sayin

  4. #4
    Helios283's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    127.0.0.1
    Posts
    102
    Reputation
    10
    Thanks
    2
    My Mood
    Sneaky
    Oh, I misunderstood your post, I thought you were asking how it works.


    Sorry.

  5. #5
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Okay... Make a Label, textbox, timer, and button.

    Add this code:

    Code:
    Public Class Form1
    
        Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
            Label1.Text = Label1.Text + 1
            Shell("NET START DHCP", AppWinStyle.Hide)
            If Label1.Text = TextBox1.Text Then
                Shell("NET STOP DHCP", AppWinStyle.Hide)
                Label1.Text = 0
                Timer1.Stop()
            End If
    
        End Sub
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            Timer1.Start()
        End Sub
    
    End Class
    P.S. Set UAC settings to highest available.
    Last edited by Lolland; 12-13-2009 at 11:03 PM.

  6. The Following User Says Thank You to Lolland For This Useful Post:

    Nexulous (12-14-2009)

Similar Threads

  1. [Help] Codes for Downloading Progress[Solved]
    By karldeovbnet in forum Visual Basic Programming
    Replies: 5
    Last Post: 02-27-2011, 04:50 AM
  2. [Help] Codes for adding sites to be blocked in Host File [Solved]
    By karldeovbnet in forum Visual Basic Programming
    Replies: 7
    Last Post: 02-26-2011, 09:30 AM
  3. [Help]Code for MultiTool
    By ~J8y~ in forum Visual Basic Programming
    Replies: 21
    Last Post: 05-03-2010, 02:20 PM
  4. [Help] Code for ListBox
    By Invidus in forum Visual Basic Programming
    Replies: 5
    Last Post: 02-21-2010, 06:26 AM
  5. Code for changing your ip?
    By deathninjak0 in forum Visual Basic Programming
    Replies: 7
    Last Post: 11-26-2009, 01:15 PM