Solved

Internet Explorer

Posted on 2001-07-31
6
149 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

867 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now