Delphi Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreDelphi Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 10th, 2004, 05:33 PM
GKFC GKFC is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 10 GKFC User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 57 sec
Reputation Power: 0
Resetting (Internet Explorer) Internet Options but....

Hi,

I need to create a stand-alone application that will do the following
for Windows 98 / Me / 2000 / XP:

Internet Explorer:
History (clear)
Temporary Internet Files (clear)
Security (default level)
Privacy (default level)
Advanced options (default level)

It will therefore act as a substitute to going into Tools ->
Internet Options and manually clicking buttons.

I need the app to be "invisible" (the user need not see
what is happening), and it will be invoked from another front-end
application (when the user clicks a button it will do all of the
above in the background for them).

Any help / pushes in the right direction would be appreciated.

Thanks for your time,

G.

Reply With Quote
  #2  
Old February 10th, 2004, 06:43 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
Posts: 9,390 Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 1 Day 22 h 32 m 40 sec
Reputation Power: 4080
Why does it have to be a separate app? Why can't you do it in the front end app where you click the button?
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Reply With Quote
  #3  
Old February 10th, 2004, 11:23 PM
GKFC GKFC is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 10 GKFC User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 57 sec
Reputation Power: 0
Hi Scorpions4ever,

Much of a muchness really, I'd still need to develop the code when the button is clicked.

In any case, my front end application is developed in Flash MX / Actionscript. IMO it lacks the low level functionality that I believe is necessary for this task....

I may be wrong, but I think this is more likely going to involve quite complex API calls which Flash MX cannot invoke. Not sure what the calls would be though....

However, I hope I am wrong, because if it was just a matter of manipulating various registry settings I could do it already (assuming I could find what the actual settings are)....

Any help would be great.

G.

Reply With Quote
  #4  
Old February 11th, 2004, 12:04 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
Posts: 9,390 Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 1 Day 22 h 32 m 40 sec
Reputation Power: 4080
>> History (clear):
See FindFirstUrlCacheEntry(), FindNextUrlCacheEntry(), FindCloseUrlCache() and DeleteUrlCacheEntry()
http://msdn.microsoft.com/library/d...lcacheentry.asp
Pass visited:*.* as the first param for FindFirstUrlCacheEntry()

>> Temporary Internet Files (clear)
Use GetTempPath() get the path to the temporary files folder. Then use FindFirstFile(), FindNextFile() and FindClose() to iterate through the list of files in the temporary files folder and use DeleteFile() to delete them.
http://msdn.microsoft.com/library/d...gettemppath.asp
http://msdn.microsoft.com/library/d...ndfirstfile.asp
http://msdn.microsoft.com/library/d.../deletefile.asp


Security:
See the regkey at HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Security

As for the others, I believe it's possible to access the menu system via the IE object. I've done something like this a while ago, but I don't recall the exact code. Maybe I'll find the code later on.

Reply With Quote
  #5  
Old February 11th, 2004, 05:56 AM
GKFC GKFC is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 10 GKFC User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 57 sec
Reputation Power: 0
Thumbs up

Awesome mate, thanks so much for that it will help a lot. Especially the API stuff.

Although, I'd already looked at that registry entry, it does not seem to be affected if you change any security levels (e.g. go from low, to high, then back to default....). To set IE Security levels back to default may well be a registry alteration, but quite possibly elsewhere. Will look into it.

As for the other tabs in the Tools -> Internet Options menu, any other clues that you can think of would be very welcome.

Cheers,

G.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreDelphi Programming > Resetting (Internet Explorer) Internet Options but....

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap