Solved

Internet Explorer

Posted on 2001-07-31
6
152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 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