Autor Beitrag
hibbert
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Fr 23.05.03 19:13 
na das sagt je eigendlich alles:

Wenn ich im Netzwerk meine IP Adresse ändern will, dann habe ich da auch ein Editfeld mit solchen Punkten drin. Kann ich das auch mit so einem Editfeld machen?

und wie kann ich herrausfinden, ob der PC zu diesem Zeitpunkt am Netztwerk hängt?

thx hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
BungeeBug
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 901



BeitragVerfasst: Fr 23.05.03 19:15 
Hi,
zu 1) Musste mal auf Luckies HP gucken, er hat in vielen seiner Programmen son Edit Feld

zu 2) pingen?!

MfG BungeeBug
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 23.05.03 21:09 
www.luckie-online.de/stuff

Da findest du einen Portscanner, der das IP-Adress-Eingabefeld der WinaAPI benutzt.
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Fr 23.05.03 22:16 
danke, aber da sind noch 2 fragen:
1. wie kann ich das eingabefeld ganz nach oben und ganz nach links im Panel setzten?
2. Und wie kann ich die IP Adresse aus diesem Feld speichern und wieder reinladen?

ich hab mir folgendes extrahiert:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
uses WinSock, CommCtrl;
const
IDC_IPCTRL   = 1;

var
hIP          : HWND    = 0;


procedure TForm1.FormCreate(Sender: TObject);
begin
 hIP := CreateWindowEx(WS_EX_CLIENTEDGE,WC_IPADDRESS,nil,
    WS_VISIBLE or WS_CHILD,80,51,125,21,
    Panel1.Handle,IDC_IPCTRL,hInstance,nil);
end;


thx hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 23.05.03 22:34 
Siehst du die 4 Zahlen in der Funktion CreateWindowEx? Überleg mal...

Wie du die Werte rausbekommst müßte auch da stehen. Sonst wäre es ja sinnlos oder? :wink:

Rein irgendwie umgekehrt. Müßte ich jetzt auch nachkucken. Aber auf meiner Seite hat Mathias ein Tutorial dazu geschrieben, da steht alles drin.
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Fr 23.05.03 23:54 
ok, ich werde mir das mal reinziehen :wink:

thx hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
AndyB
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1173
Erhaltene Danke: 14


RAD Studio XE2
BeitragVerfasst: Sa 24.05.03 00:51 
Die JVCL bietet auch ein IP-Edit an.

_________________
Ist Zeit wirklich Geld?
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Sa 24.05.03 21:07 
Danke,
aber ich habe da nichts gefunden? Ich denke mal, dass man die Komponente da irgendwo runterladen kann, kannst du mir da noch nen tipp geben?

thx hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
bis11
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1247
Erhaltene Danke: 2

Apple Mac OSX 10.11

BeitragVerfasst: Sa 24.05.03 23:08 
Schau mal auf meine Seite, dort findest Du die Komponenten für ein Edit-Feld um eine IP-Adresse einzugeben. Ist aber nicht von mir.
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: So 25.05.03 00:14 
Hey danke, aber wie gehe ich mit diesen drei Dateien um, muss ich die in irgend einen Delphi ordner kopieren, denn 2 von den 3 Dateien sind unbekannt (die andere Datei die erkannt wird ist eine txt datei)

thx hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
bis11
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1247
Erhaltene Danke: 2

Apple Mac OSX 10.11

BeitragVerfasst: So 25.05.03 00:22 
Hast Du die Kompo's von meiner Seite genommen ?
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: So 25.05.03 00:36 
jepp

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
bis11
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1247
Erhaltene Danke: 2

Apple Mac OSX 10.11

BeitragVerfasst: So 25.05.03 11:18 
In der Datei ipadress.rar ist doch die Unit mit einem Beispiel dabei, deshalb verstehe ich nicht ganz was Du mit den 3 Dateien meinst. Probiere mal folgenden Link. Da ist die Komponente drin mit einem Beispiel.