刷新IE设置

I

import

Unregistered / Unconfirmed
GUEST, unregistred user!
  ...force IE to re-read registry settings?
{
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,
nil, nil, INTERNET_FLAG_OFFLINE);
try
if hInet <> nil then
InternetSetOption(hInet, INTERNET_OPTION_SETTINGS_CHANGED, nil, 0);
finally
InternetCloseHandle(hInet);
end;
end;
 

Similar threads

I
回复
0
查看
740
import
I
I
回复
0
查看
702
import
I
I
回复
0
查看
2K
import
I
I
回复
0
查看
2K
import
I
I
回复
0
查看
3K
import
I
顶部