SHAHEEN_AKHTAR
asked on
Turn on/off IE Popup blocker
Hello all,
I want to enable/disable IE's built-in popup blocker through my delphi program and get the count of blocked items. Please provide me some way out. Thanks a lot.
I want to enable/disable IE's built-in popup blocker through my delphi program and get the count of blocked items. Please provide me some way out. Thanks a lot.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
procedure TBandForm.BlockPop(const YesNo : boolean);
const
PPBlk =
'Software\Microsoft\Intern
SubKey = 'Explorer\';
YesNo10 : array[False .. True] of Word = (0, 1);
var mylist : TStrings;
begin
with TRegistry.Create do
try
RootKey:=HKEY_CURRENT_USER
if OpenKey(PPBlk, True) then
begin
//GetValueNames(myList);
WriteInteger('PopupMgr',Ye
end;
CloseKey;
finally
Free;
end;
end;
Thanks a lot once again