Autor Beitrag
LLiinnuuxx
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20

Windows: XP;98 Linux(Suse):6.2;9.0
D3; D6
BeitragVerfasst: Fr 23.04.04 15:42 
Ich würde gerne einen eigenen DynDNS Client programmieren um die IP Adresse dem DynDNS Server mitzugeben, da dies nicht meinem Gebiet entspricht wollte ich folgendes fragen:

1. Wie kriege ich die IP-Adresse die zum Internet hin offen ist mit einem Befehl heraus?

2. Wie, oder geht das nicht, kann ich Usernamen und Passwort übergeben und das Programm automatisch ein paar Links "drücken" lassen:

Die erste frage ist optional da DynDNS diese auch automatisch erkennt.
inselberg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458



BeitragVerfasst: Mi 28.04.04 01:20 
wurd das nicht schon mal hier erklärt / steht afaik sogar in der faq.
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
uses  mshtml, activex,
...
var  Doc  : IHTMLDocument2;
      Inp  : IHTMLInputElement;
      ec   : IHTMLElementCollection;
...
  Doc := Webbrowser1.Document as IHTMLDocument2;
  ec := doc.all.tags('input') AS IHTMLElementCollection;
...
  Inp := ec.item(4,varEmpty) as IHTMLInputElement; // 4. element ist der button
  (Inp as IHTMLElement).click;


als denkansatz müsste das reichen falls nicht kann ich dir gerne ein beispiel projekt schicken.

_________________
hans bist du das ?