Solved

IP adress

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 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

11 Experts available now in Live!

Get 1:1 Help Now