was ist neu ¦  programmier tips ¦  indy artikel ¦  intraweb artikel ¦  informationen ¦  links ¦  interviews
 sonstiges ¦  tutorials ¦  Add&Win Gewinnspiel

Tips (1541)

Dateien (137)
Datenbanken (90)
Drucken (35)
Grafik (114)
IDE (21)
Indy (5)
Internet / LAN (130)
IntraWeb (0)
Mathematik (76)
Multimedia (45)
Oberfläche (107)
Objekte/
ActiveX (51)

OpenTools API (3)
Sonstiges (126)
Strings (83)
System (266)
VCL (242)

Tips sortiert nach
Komponente


Tip suchen

Tip hinzufügen

Add&Win Gewinnspiel

Werbung

47 Visitors Online


 
...den Internet Explorer veranlassen, seine Registry Einstellungen neu einzulesen?
Autor: Bryan Ashby
[ Tip ausdrucken ]  

Tip Bewertung (7):  
     


{
  I've written a small app that modifies a setting for IE and need to somehow tell
  IE to re-read the registry settings.
  Does anyone know of an API call or message that will do this?
}

uses
  
WinInet;

procedure IE_Reread_Registry_Settings;
var
  
HInet: HINTERNET;
begin
  
hInet := InternetOpen(PChar('YourAppName'), INTERNET_OPEN_TYPE_DIRECT,
    nilnil, INTERNET_FLAG_OFFLINE);
  try
    if 
hInet <> nil then
      
InternetSetOption(hInet, INTERNET_OPTION_SETTINGS_CHANGED, nil, 0);
  finally
    
InternetCloseHandle(hInet);
  end;
end;

 

Bewerten Sie diesen Tipp:

dürftig
ausgezeichnet


Copyright © by SwissDelphiCenter.ch
All trademarks are the sole property of their respective owners