IP Address

[b][red]This message was edited by RicardoFurtado at 2004-4-25 23:47:40[/red][/b][hr]
How can i get my computer's IP address throw VB?


My thanks in advanced

Comments

  • : [b][red]This message was edited by RicardoFurtado at 2004-4-25 23:47:40[/red][/b][hr]
    : How can i get my computer's IP address throw VB?
    :
    :
    : My thanks in advanced
    :
    :
    You can use the winsock control, it has a property (LocalIP) that returns your ip address as a string.

    OR

    you can use the API function gethostbyname() after a call to has been made to gethostname() to get your computers name.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion