Results 1 to 6 of 6
  1. #1
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed

    [Tut]Get Local IP

    Beginners Guide To Getting IPaddress Programatically

    Note: As always, Open VB.net and follow along, if you just grab the sample, You will never learn anything.


    Lets begin by creating a "New Project" I called my project "GetIP" , However you can call yours anything you like.



    Add one "'Label" and one "Button" to the form

    Note: Text, Font , Style and placement have no relevance, Design it anyway you like

    You should have a form that looks similar to this.



    Now you need to add the reference system.net
    (you can achieve this by clicking project then add reference, in your toolbar)

    Scroll down and click system.net, Finally...Click Ok
    (You should see this)



    Tip: VS (Vb.net in this case) Hotkey -- F7 -- Enters the coding window

    At this point you need to open the codeing window , You can achieve this numerous ways, but the fastest is with the hot key "F7"

    Now type "Imports System.Net" above public class *Form Name*
    ("General" Area")

    Now add this code inside the button click event (if you don't know how to do this from the code window, go back to the designer and double click the button)

    No offense to the copy and pasters, but it's time you started learning, so instead of proving the code in a copy/paste friendly manner, I am adding a screenshot, If you would like to use this, your going to have to type it out...sorry leechers, it's for your own good

    Note: I suggest anyone writing a tutorial adopts this method in order to truley help those who seek help, it will also weed out C&P.

    Obviously if you are offering support it will be better to use the [.code] Tags, but otherwise I suggest screenshots.



    Now press F5 (debug) and test your project.

    You should get something like this as a result (on button click)



    Hope this helps

    (Part 2, Intermediate way of retrieving your "Real" IpAddress)


     


     


     



    The Most complete application MPGH will ever offer - 68%




  2. #2
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    GJ again.

    Lol what's with all your n00b tuts?

  3. #3
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Quote Originally Posted by lolland View Post
    GJ again.

    Lol what's with all your n00b tuts?
    For the newbs... Think about it, do advanced coders come to the vb section to learn?



     


     


     



    The Most complete application MPGH will ever offer - 68%




  4. #4
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Yeah good point.

  5. #5
    treeham's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    heh. Turn around.
    Posts
    200
    Reputation
    10
    Thanks
    41
    My Mood
    Cynical
    DAMMIT THATS NOT YOUR REAL IP ADDRESS
    In Choob Language:
    also for all your info.. i didnt copy and paste shit.. coz i dont think anyone has realeased any source code for the New update of CA.. so sdfu..
    In English:
    I didn't copy and paste because no one has released what I need copy and paste
    Oh Choobs...

  6. #6
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Quote Originally Posted by treeham View Post
    DAMMIT THATS NOT YOUR REAL IP ADDRESS
    That is My Local IP, Difference between a local (or network) IP and your "Real IP"

    I made a tut for a "Real IP" over here

    https://www.mpgh.net/forum/33-visual-...t-real-ip.html


     


     


     



    The Most complete application MPGH will ever offer - 68%




Similar Threads

  1. TUT getting rakion _DllAdress for cell2cell hack
    By KAHAK in forum Programming Tutorials
    Replies: 0
    Last Post: 12-05-2009, 07:40 PM
  2. [TUT] Get running processes and kill them ~~
    By Zoom in forum Visual Basic Programming
    Replies: 2
    Last Post: 11-09-2009, 08:34 AM
  3. [TUT]Get Chams Working Again!
    By Tjrulesz in forum Combat Arms Hacks & Cheats
    Replies: 58
    Last Post: 08-26-2008, 05:01 PM
  4. [TUT] Get Harolds Bypass 3.0 Working On Vista.
    By lahoe91 in forum Combat Arms Hacks & Cheats
    Replies: 138
    Last Post: 08-25-2008, 09:43 PM
  5. Tut Getting vb and learning the basics
    By nlowner in forum Visual Basic Programming
    Replies: 3
    Last Post: 08-03-2007, 04:05 PM