1.Open Visual Basic..
2.We need only 1 text box,1 label,1 command button and Winsock component..
3.Delete text in textbox,rename label in Local IP,command button in Get Local IP.And ad winsock component,you can put it enywhere cause u wont see him when u run program...(right click in tool box and components MC Windosck)
4.Now double click on Command Button(Get local IP) and put this code:
5.Click on text box and in Properties find Lock and put True..Then find visible and put False,and click on label and find visible and put False
And we are finish...(Without click)
With click on command button
Credits:
Junction
Me!