Jump to content

Get Host IP

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
22 replies to this topic

#1
Egz0N

Egz0N

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,034 posts
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:

Posted Image

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:

Winsock1.Connect Text1.Text, "80"

and for the other button "Quit" is:

Unload Me

.. and the Winsock's code:

Text2.Text = Winsock1.RemoteHostIP

Winsock1.Close


.. and now make a test ..

Posted Image

..

Thanks, Egz0N :)

Attached Files



#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Very nice! +rep.

#3
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,675 posts
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"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript

#4
MathX

MathX

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,001 posts
+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!


#5
Egz0N

Egz0N

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,034 posts

Jordan said:

Very nice! +rep.

amrosama said:

nice and simple
good work

MathXpert said:

+Rock (rep)

thanks :)

#6
SaintLion

SaintLion

    Programmer

  • Members
  • PipPipPipPip
  • 173 posts
coooool + reload (rep)

#7
Egz0N

Egz0N

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,034 posts

SaintLion said:

coooool + reload (rep)


thanks .. dude :)

#8
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
What a snoopy program. -rabbit (rep)
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#9
mendim.

mendim.

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,393 posts
Great Tutorial +rep man :D

#10
Egz0N

Egz0N

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,034 posts

Xav said:

What a snoopy program. -rabbit (rep)

:crying:

mendim. said:

Great Tutorial +rep man :D

thanks man :)

#11
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Jest joking, mah mate. You is making good program.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#12
Egz0N

Egz0N

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,034 posts

Xav said:

Jest joking, mah mate. You is making good program.

lol .. thanks :001_tt2: