Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Wo bekomme ich die NMHTTP Kompo her? (https://www.delphipraxis.net/10366-wo-bekomme-ich-die-nmhttp-kompo-her.html)

djpaull 26. Apr 2008 13:54

Re: Wo bekomme ich die NMHTTP Kompo her?
 
Cool, Danke! Ich sags immer wieder - :dp: !

Timbuktu 22. Jan 2010 09:40

Re: Wo bekomme ich die NMHTTP Kompo her?
 
halleluljia danke Klaus01 :dancer:

endlich hab ich ne lösung gefunden um die internet ip heraus zu finden ^^

hab damit die letzten paar tage verbracht einen weg zu finden, aber mir ist nichts eingefallen und alles andere was ich im internet gefunden habe hat nicht funktioniert :oops:

mfg
Timbuktu

DeddyH 22. Jan 2010 10:18

Re: Wo bekomme ich die NMHTTP Kompo her?
 
Wenn wir schon alte Threads wieder aufwärmen, hätte ich da noch einen Erweiterungsvorschlag:
Delphi-Quellcode:
function getPublicIP:String;
const WebAddress = 'http://www.whatismyip.com/automation/n09230945.asp';
var
  idHttp1: TIdHttp;
begin
  Result := '';
  idHttp1 := TIdHttp.Create(nil);
  try
    try
      Result := trim(idhttp1.Get(WebAddress));
    except
      on E: Exception do
      begin
        MessageDlg('Could not get IP Address! ' +
          'Please ensure you are connected to ' +
          'the Internet.', mtError, [mbOK], 0);
      end;
    end;
  finally
    idHttp1.Free;
  end;
end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:24 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz