Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

List contents of Internet Explorer History using VBS / WSH

Posted on 2006-11-14
2
Medium Priority
?
867 Views
Last Modified: 2008-01-09
So far I have the following code:

Const LOCAL_SETTINGS_HISTORY = &H22&

Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(LOCAL_SETTINGS_HISTORY)
Set objFolderItem = objFolder.Self
Wscript.Echo objFolderItem.Path

Set colItems = objFolder.Items
For Each objItem in colItems
    Wscript.Echo objItem.Name
Next

When it runs, it does indeed show the contents of Internet Explorer History, although only as the category headings "3 Weeks Ago", "Last Week", "Monday" etc.! Is there any way of reading (and echoing) every item in the History list using WSH?
0
Comment
Question by:skrysiak
[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
2 Comments
 
LVL 4

Accepted Solution

by:
hclgroup earned 500 total points
ID: 17939996
That code may be outdated.

you may need to look index.dat if you want to read IE's history

check out the code here
http://www.codeproject.com/vbscript/Internet_Explorer_Spy.asp
0
 

Author Comment

by:skrysiak
ID: 17963790
Fantastic! Works fine with IE7 also.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Make the most of your online learning experience.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

649 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