Solved

IP adress

Posted on 1998-05-15
2
250 Views
Last Modified: 2010-04-06
I want to know the IP adress of a local pc.
I used TTPC TCP.LOCALIP (i have an error OLE CTR ADRESS CONTROL different version from ActiveX)

I just want to know the local adress ip.

Could u send me a source code or hints ?

Thanx
0
Comment
Question by:arnaudg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
BoRiS earned 20 total points
ID: 1345817
arnaudg

drop a tcp component on you form and a button then type on the buttons onclick procedure

Showmessage(Tcp1.LocalIP);


Later
BoRiS
0
 
LVL 1

Author Comment

by:arnaudg
ID: 1345818
Yes,

that what i've done.
But on my dev PC this doesn't work (bad dll...)

I have installed Dephi3 on a new PC and that works.

thanx
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to renew a Delphi rad-studio licence? 5 94
Is anyone willing to have a look through this code and help debug? 25 103
RESTRequest Parameter 4 79
DBCtrlGrid, Delphi, Scroll 8 85
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question