Hello CC Members ..
I am Going to Show you How to Make a Simple Get Host IP Tool using VB 6.0 ..
The Tool's going to Look Like so:
You'll Need 2 Buttons 2 TextBoxes and 2 Labels
..
Add a Label and Rename it to "Hostname:" than add another Label and rename it to "IP Address is:" ..
than add to TexBoxes .. after the Labels ..
than you have to add 2 Buttons
Rename the First Button to "Get IP"
and the Second One to "Quit"..
and then add a Winsock ..
..
the code for the "Get IP" button is:
and for the other button "Quit" is:Code:Winsock1.Connect Text1.Text, "80"
.. and the Winsock's code:Code:Unload Me
Code:Text2.Text = Winsock1.RemoteHostIP Winsock1.Close
.. and now make a test ..
..
Thanks, Egz0N![]()
Very nice! +rep.
nice and simple
good work
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
www.amrosama.com | the unholy methods of javascriptCode:eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
+Rock (rep)
Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!
coooool + reload (rep)
Great Tutorial +rep man![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks