Solved

IP adress

Posted on 1998-05-15
2
246 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi IDE crash without error message ... 7 76
URL for downloading Google Chrome for Win XP 2 122
control image tags in a string ? 12 111
Graphics32 under Delphi 10.1 Berlin 2 37
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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now