Results 1 to 11 of 11
  1. #1
    trevor206's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    324
    Reputation
    12
    Thanks
    107

    Post How to make a IP changer in VB6

    Make 1 label, 1 textbox, 1 command button and 1 winsock control
    heres a pic of what it should look like.
    Here's there Code for it.There are two diffrent ways you can make the msg box the first way will be in the first code box the other way will be in the second code box.


    Command button 1 code.
    Code:
    MsgBox ("Windows IP is about to change do you wish to continue?"),vbinformation,("WARNING")
    Shell ("ipconfig /flushdns")
    Shell ("ipconfig / Release")
    Shell ("ipconfig / Renew")
    Text1 = Winsock1.LocalIP
    Second way for msgbox.
    Code:
    Dim iResponse As String
    iResponse = MsgBox("This Will Change your IP Adress" & vbCrLf & "Do you Wish to Continue ", vbYesNo + vbExclamation + vbApplicationModal + vbDefaultButton1, "Are You Sure")
    If you don't have winsock control in your Components>Controls (press Ctrl + T to check.) if it's not in Components>Controls the download for it is below.
    And if you want to just try it the download is also below for the ip changer i made.
    Last edited by meme; 08-18-2021 at 03:26 PM.

  2. The Following 6 Users Say Thank You to trevor206 For This Useful Post:

    christo1 (05-08-2013),hdinata (04-27-2013),henjero (11-28-2014),IrfanSyahPutra (06-15-2013),sharnav (05-05-2012),SidewaySlip (12-28-2012)

  3. #2
    Pixie's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Pixie wird wieder steigen.
    Posts
    1,884
    Reputation
    22
    Thanks
    229
    My Mood
    Fine
    LMAO, I tried this cause of a video on youtube, but for some reason, it wouldn't let me make it to .exe.... I will try again...

  4. #3
    Iamazn's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    141
    Reputation
    10
    Thanks
    85
    This only works for some people
    You can make a .BAT file for this
    Ipconfig /release
    ipconfig /renew

  5. #4
    trevor206's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    324
    Reputation
    12
    Thanks
    107
    Quote Originally Posted by Iamazn View Post
    This only works for some people
    You can make a .BAT file for this
    Ipconfig /release
    ipconfig /renew
    i know about the .bat file but i like to do things in VB

  6. #5
    Iamazn's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    141
    Reputation
    10
    Thanks
    85
    Quote Originally Posted by trevor206 View Post
    i know about the .bat file but i like to do things in VB
    Lol, but it only works for certain people. D:
    And I agree with doing things in VB. I always prefer EXE over .BAT/.CMD

  7. #6
    Pixie's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Pixie wird wieder steigen.
    Posts
    1,884
    Reputation
    22
    Thanks
    229
    My Mood
    Fine
    Quote Originally Posted by trevor206 View Post
    i know about the .bat file but i like to do things in VB
    So do I, it's because you can have design.

  8. #7
    Nexulous's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    in dbb's vagina.
    Posts
    4,047
    Reputation
    63
    Thanks
    218
    My Mood
    Innocent
    Copy+paste your code so far. And this is redundant, as VB06 is obsolete.

  9. #8
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    Hey, I Did wat u said and designed it (its kinda uber amazing) but there is a Squiggly line under Private Sub... epxected identifier. To eliminate this, i changed it to this:

    Public Class Form1

    Private Property Winsock1 As Object
    Private Sub Button1_Click()
    Dim iResponse As String
    iResponse = MsgBox("This Will Change your IP Adress" & vbCrLf & "Do you Wish to Continue ", vbYesNo + vbExclamation + vbApplicationModal + vbDefaultButton1, "Are You Sure")

    Shell("ipconfig /flushdns")
    Shell("ipconfig / Release")
    Shell("ipconfig / Renew")
    TextBox1 = Winsock1.LocalIP
    End Sub
    End Class


    Please tell me if this works. If Not, please say how i can fix it.

    Ty

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  10. #9
    Nexulous's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    in dbb's vagina.
    Posts
    4,047
    Reputation
    63
    Thanks
    218
    My Mood
    Innocent
    End the expected identifier is what I'm thinking, though I'm stupid at VB.

  11. #10
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    Im kinda new.. soo how would i do that?

    I Eliminated all the errors with the code i posted.

    Heres the code WITH the error:
    Public Class Form1

    Private Sub
    Dim iResponse As String
    iResponse = MsgBox("This Will Change your IP Adress" & vbCrLf & "Do you Wish to Continue ", vbYesNo + vbExclamation + vbApplicationModal + vbDefaultButton1, "Are You Sure")

    Shell("ipconfig /flushdns")
    Shell("ipconfig / Release")
    Shell("ipconfig / Renew")
    Text1 = Winsock1.LocalIP

    End Sub
    End Class


    Im assuming that Text1 (in VB 2010) should be textbox1, so i fixed it

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  12. #11
    Nexulous's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    in dbb's vagina.
    Posts
    4,047
    Reputation
    63
    Thanks
    218
    My Mood
    Innocent
    Theoretically, should be fine.

  13. The Following User Says Thank You to Nexulous For This Useful Post:

    Brianobrian (01-16-2010)

Similar Threads

  1. Can someone plz post how to make arrow moving menu in vb6
    By aprill27 in forum Visual Basic Programming
    Replies: 2
    Last Post: 05-04-2008, 09:20 AM
  2. [Tutorial] How to make your own undetected module in VB6
    By markfracasso11 in forum Visual Basic Programming
    Replies: 17
    Last Post: 10-15-2007, 09:34 AM
  3. [Tutorial] How to make your own undetected module in VB6
    By markfracasso11 in forum WarRock - International Hacks
    Replies: 22
    Last Post: 09-25-2007, 05:35 AM
  4. How to make hacks with VB6!
    By ltkort213 in forum WarRock - International Hacks
    Replies: 16
    Last Post: 07-21-2007, 08:51 PM
  5. [TuT] How to make PW and value box for Guns/Superjump/SkyStormer(VB6)
    By jokuvaan11 in forum WarRock - International Hacks
    Replies: 14
    Last Post: 06-30-2007, 01:09 PM

Tags for this Thread