Solved

Internet Explorer

Posted on 2001-07-31
6
150 Views
Last Modified: 2010-04-06
I'm using Delphi 2 and want to be able to disable/enable:

* Toolbars, Status bar and menu of IE on both Win98 and WinNT 4

I shall award the points to the one that can show me how to do all three with IE on both platforms.

anyone got a way of doing this?

0
Comment
Question by:winuser2000
6 Comments
 
LVL 1

Expert Comment

by:umulig
ID: 6339995
0
 
LVL 5

Accepted Solution

by:
alanwhincup earned 150 total points
ID: 6340041
I've done Toolbars and Statusbar:


procedure ShowIEToolBar(Enable : Boolean);
var
  Reg : TRegistry;
begin
  Reg := TRegistry.Create;
  with Reg do
  begin
    RootKey := HKEY_CURRENT_USER;
    OpenKey('Software\Microsft\Internet Explorer\Main', False);
    if Enable = True then
      WriteString('Show_ToolBar', 'yes')
    else
      WriteString('Show_ToolBar', 'no');
    CloseKey;
    Free;
  end;
end;

procedure ShowIEStatusBar(Enable : Boolean);
var
  Reg : TRegistry;
begin
  Reg := TRegistry.Create;
  with Reg do
  begin
    RootKey := HKEY_CURRENT_USER;
    OpenKey('Software\Microsft\Internet Explorer\Main', False);
    if Enable = True then
      WriteString('Show_StatusBar', 'yes')
    else
      WriteString('Show_StatusBar', 'no');
    CloseKey;
    Free;
  end;
end;

Both these procedures could be joinded together because they are very similar. I will try and find out how to disable the menu and then will post some final code.

I havent tested these on Win NT yet so am not sure if its what your looking for.

Cheers,

Alan
0
 

Author Comment

by:winuser2000
ID: 6340177
Umulig - i already had looked at that site but didn't find anything of use.  Did i miss something?

AlanWhincup - So far so good.  
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 1

Expert Comment

by:h_mohsenian
ID: 6341162
listening... :-)
0
 

Expert Comment

by:BryGuy
ID: 6341647
From the euromind.com/iedelphi, download IE5Tools - it has functions for everything you mentioned.

Bryan Ashby
0
 

Author Comment

by:winuser2000
ID: 6434571
thanks all - i have closed this question as no one supplied a complete answer.  AlanWhincup provided 2/3 of the answer so i gave him the points.
0

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question