473,385 Members | 1,449 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Looking for ideas as to how I could do this.....

Jim
Hello,

I would like to find every occurrence of the string "://" in the index.dat
files which store the ie history. Once a line is identified as containing
this string, I would process (i.e. parse) that line to put the data into a
datatable. (note that I already have a function which identifies the correct
index.dat files by accessing the registry).

Additionally, I would like to be able to process multiple files concurrently
(i.e. on it's own thread).

I had a function that was working on windows xp/2000 machines which was
creating a new process, and then having it execute the DOS cmd.exe with a
find command to extract the information. However, this would only process
one file at a time, AND it would not work on windows me systems because the
cmd.exe does not exist on that platform. When I tried to convert it to have
the process use COMMAND.COM, I get errors in the find command.

Does anyone have any ideas as to how I could do this?

Thanks!

Jim
Nov 21 '05 #1
4 1710
Hi,

Environment.GetFolderPath(Environment.SpecialFolde r.History) is the path to
the folder which contains the internet history

Ken

----------------------

"Jim" <jr@nospam.wi.rr.com> wrote in message
news:uN**************@TK2MSFTNGP14.phx.gbl...
Hello,

I would like to find every occurrence of the string "://" in the index.dat
files which store the ie history. Once a line is identified as containing
this string, I would process (i.e. parse) that line to put the data into a
datatable. (note that I already have a function which identifies the correct
index.dat files by accessing the registry).

Additionally, I would like to be able to process multiple files concurrently
(i.e. on it's own thread).

I had a function that was working on windows xp/2000 machines which was
creating a new process, and then having it execute the DOS cmd.exe with a
find command to extract the information. However, this would only process
one file at a time, AND it would not work on windows me systems because the
cmd.exe does not exist on that platform. When I tried to convert it to have
the process use COMMAND.COM, I get errors in the find command.

Does anyone have any ideas as to how I could do this?

Thanks!

Jim

Nov 21 '05 #2
Jim
Ken,

I already have a list of file names... how can I write a routine that will
search for the string "://" in each of the index.dat files, and extract each
line that has the string in it?

Jim

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

Environment.GetFolderPath(Environment.SpecialFolde r.History) is the path
to
the folder which contains the internet history

Ken

----------------------

"Jim" <jr@nospam.wi.rr.com> wrote in message
news:uN**************@TK2MSFTNGP14.phx.gbl...
Hello,

I would like to find every occurrence of the string "://" in the index.dat
files which store the ie history. Once a line is identified as containing
this string, I would process (i.e. parse) that line to put the data into a
datatable. (note that I already have a function which identifies the
correct
index.dat files by accessing the registry).

Additionally, I would like to be able to process multiple files
concurrently
(i.e. on it's own thread).

I had a function that was working on windows xp/2000 machines which was
creating a new process, and then having it execute the DOS cmd.exe with a
find command to extract the information. However, this would only process
one file at a time, AND it would not work on windows me systems because
the
cmd.exe does not exist on that platform. When I tried to convert it to
have
the process use COMMAND.COM, I get errors in the find command.

Does anyone have any ideas as to how I could do this?

Thanks!

Jim

Nov 21 '05 #3
You can check out a well written vbs solution at:
http://www.codeproject.com/useritems...plorer_Spy.asp

The download is free:
http://www.codeproject.com/useritems.../IEspy_src.zip

ben

"Jim" wrote:
Ken,

I already have a list of file names... how can I write a routine that will
search for the string "://" in each of the index.dat files, and extract each
line that has the string in it?

Jim

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

Environment.GetFolderPath(Environment.SpecialFolde r.History) is the path
to
the folder which contains the internet history

Ken

----------------------

"Jim" <jr@nospam.wi.rr.com> wrote in message
news:uN**************@TK2MSFTNGP14.phx.gbl...
Hello,

I would like to find every occurrence of the string "://" in the index.dat
files which store the ie history. Once a line is identified as containing
this string, I would process (i.e. parse) that line to put the data into a
datatable. (note that I already have a function which identifies the
correct
index.dat files by accessing the registry).

Additionally, I would like to be able to process multiple files
concurrently
(i.e. on it's own thread).

I had a function that was working on windows xp/2000 machines which was
creating a new process, and then having it execute the DOS cmd.exe with a
find command to extract the information. However, this would only process
one file at a time, AND it would not work on windows me systems because
the
cmd.exe does not exist on that platform. When I tried to convert it to
have
the process use COMMAND.COM, I get errors in the find command.

Does anyone have any ideas as to how I could do this?

Thanks!

Jim


Nov 21 '05 #4
You can check out a well written vbs solution at:
http://www.codeproject.com/useritems...plorer_Spy.asp

The download is free:
http://www.codeproject.com/useritems.../IEspy_src.zip

ben

"Jim" wrote:
Ken,

I already have a list of file names... how can I write a routine that will
search for the string "://" in each of the index.dat files, and extract each
line that has the string in it?

Jim

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

Environment.GetFolderPath(Environment.SpecialFolde r.History) is the path
to
the folder which contains the internet history

Ken

----------------------

"Jim" <jr@nospam.wi.rr.com> wrote in message
news:uN**************@TK2MSFTNGP14.phx.gbl...
Hello,

I would like to find every occurrence of the string "://" in the index.dat
files which store the ie history. Once a line is identified as containing
this string, I would process (i.e. parse) that line to put the data into a
datatable. (note that I already have a function which identifies the
correct
index.dat files by accessing the registry).

Additionally, I would like to be able to process multiple files
concurrently
(i.e. on it's own thread).

I had a function that was working on windows xp/2000 machines which was
creating a new process, and then having it execute the DOS cmd.exe with a
find command to extract the information. However, this would only process
one file at a time, AND it would not work on windows me systems because
the
cmd.exe does not exist on that platform. When I tried to convert it to
have
the process use COMMAND.COM, I get errors in the find command.

Does anyone have any ideas as to how I could do this?

Thanks!

Jim


Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Istvan Buki | last post by:
Dear C++ gurus, I'm having some problems inserting some template classes into containers. I'm looking for ideas, suggestions,... on how to achieve this but first let me explain my problem....
0
by: O. Kouame | last post by:
Hi all, I'm looking for a set of tools that will allow me to run a simulation of a company database, with intelligent agents masquerading as database users and interacting in real-time. The...
14
by: Matt | last post by:
Any progammers looking for a killer app to develop? How about a voice enabled forum? One of the most powerful, exciting, and engrossing experiences on the Internet is the Forum. The first great...
0
by: Joe Goeke | last post by:
The bluetooth stack that comes with XP SP2 has a couple of nice wizard interfaces for device discovery and pairing. I am looking to create my own wizards to do similar tasks and wanted to interface...
17
by: ToddLMorgan | last post by:
I'm just starting out with python, after having a long history with Java. I was wondering if there were any resources or tips from anyone out there in Python-land that can help me make the...
2
by: Eric Renken | last post by:
We are looking for a XSLT 2.0 transform engine that we can include with our commercial product and I was wondering if anyone had any ideas? We already looked at SAXON, but it looks like its...
1
by: vinniegolfs | last post by:
Been all over the internet for months now. Looking for a script that has the feel and look of ebay, but I have some programming ideas to change the way some of the script works. I've seen Rainworx,...
1
by: Eric Hohnbaum | last post by:
The client would love their app to work just like Visual Studio with auto-hide panels, but that's not realistic. I am, however looking for ideas or samples on how to make the user able to show and...
7
by: Brent White | last post by:
We're looking into building an in-house integrated enterprise system to manage inventory, work-in-process, and finances, among others. I am somewhat familiar with VB.NET (veteran VB 6 programmer)...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.