Solved

IP adress

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

690 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