Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / December 2005

Tip: Looking for answers? Try searching our database.

deleting IE history using VB.Net

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ted - 29 Dec 2005 04:36 GMT
is there an example of how one would go about selectively deleting items in
IE's history based on URL names using VB.NET?  i have checked every resource
i know and come up short.
Jani Järvinen [MVP] - 30 Dec 2005 07:11 GMT
Ted,

> is there an example of how one would go about selectively deleting items
> in
> IE's history based on URL names using VB.NET?

I'm sorry, but I don't think there are any examples available because what
you want to achieve probably isn't possible. Well, you could in theory
reverse engineer Internet Explorer and see how it manipulates the history
list, but this would both be a violation of the EULA and very difficult.

However, if you are using .NET 2.0 and the WebBrowser control, then you
could build your own web browser with VB.NET that would not let the user see
the history. But even with this solution, I don't think you can *stop* IE
from building up that history list for you.

Hope this gives you food for thought.

Signature

Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
janij@removethis.dystopia.fi
http://www.saunalahti.fi/janij/

Ted - 31 Dec 2005 21:45 GMT
jani, thanks for the response.  i'm having trouble comprehending that this is
an impossible task.  ie's history is available thru windows explorer under
c:\documents and settings\[user name]\local settings\history and items can
easily be deleted.  for some reason, however, when you use system.io to
navigate that directory it appears empty to .net.  there are at least a few
applications out there that delete all history but i'm just not sure how
they're doing it.  any ideas?  i did find some code to clear IE's cache and
it required several api calls.  anyway, i would appreciate any comments.  tia!

> Ted,
>
[quoted text clipped - 13 lines]
>
> Hope this gives you food for thought.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.