i also noticed something about the browser that VB6 created: i cannot open files from FTP sites (i.e. play an movie file that is on an FTP server.) any ideas on this?
Main Topics
Browse All Topicshow do i delete certain portions of I.E. history? i used VB6 to create a browser and want to delete everything visited by it when it exits. i know that it shares the same history as regular I.E. and i don't want to delete its history as well. can the GoBack function somehow be used with a delete routine?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
i observed the behavior a little more. when in an FTP site and u try accessing a folder, it opens up in a new window. this time it's in the real I.E. browser. therefore, it is then possible to open up files such as MP3s, images, etc. if the file is still in the browser that i created w VB6, i cannot open these files.
how do i prevent my browser from opening other windows, and how do i get it to open files on an FTP server?
Richie_Simonetti,
I'm not sure if the above code works in Windows XP. I can get a list of IE's cache, but cannot not delete them for some reason. I am running on Windows XP and can't get it the delete functions to work.
Does anyone know how I can figure out where IE is saving its history? In Window Me, and previous versions of Windows, I believe it was saved in C:\Windows\History. This is not the case in Windows XP. I think there might be a registry setting that directs IE where to store its history. Does anyone know of a VB function that might extract that directory or something?
Looking at hongjun's example, the browser with saves its own history in a text file but still appears in IE's history, perhaps I can do a compare with the text file history and actual IE history and just delete the matches. This way, I would have only deleted the sites that my browser visited, and not everything in IE. The only problem is, how do I know where IE is saving its history files? I want my program to work on all versions of Windows.
Thsi url shows how to found where history is located. I am not sure if it would work with XP but you could do a try (i haven't XP, sorry)
http://www.mvps.org/vbnet/
When you found it, i think it could be easily empty with some loop and Kill function.
Good luck
See the following to get the history folder:
http://www.experts-exchang
No idea how to clean invidivual urls in the history list =(
The code of Richie deletes files in the cache but doesn't delete them from the list. Anyway nice code, i'll be using it =)
Mike
Richie,
That doesn't clean individual links. C++ can do it: http://msdn.microsoft.com/
better yet now i read this, Richie gave the two pieces to glue something together thought it would take some work but that's what we're paid for :)
get the path to the folder
http://www.mvps.org/vbnet/
running through the folder could be done this way
http://www.mvps.org/vbnet/
http://www.mvps.org/vbnet/
or just a simple dir function
kiphughes, what did you already try to build here yourself
i'm trying to delete specific URLs from IE's history -- not cache. i've gone to the links about, but they do not solve my problem. the closest solution i could find is referenced at http://msdn.microsoft.com/
There is a type library that implements that interface:
http://www.domaindlx.com/e
Also related:
http://www.mvps.org/btmtz/
(Last link of that page)
Did you ever solve this question on your own? If not, here is a link that solves the problem for how to delete ALL history items in Visual Basic (which is the problem I needed solved for myself).
http://www.codeguru.com/mf
I would not have a clue as to how to modify it to meet your specific needs.
Hi kiphughes,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Refund points and save as a 0-pt PAQ.
** I agree, there is no satisfactory answer here.
kiphughes, Please DO NOT accept this comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit. Explain why.
==========
DanRollins -- EE database cleanup volunteer
Business Accounts
Answer for Membership
by: hongjunPosted on 2002-09-14 at 13:04:30ID: 7280822
This example may be good. It has its own list of history. e.com/vb/s cripts/Sho wCode.asp? txtCodeId= 9557&lngWI d=1
http://www.planetsourcecod
hongjun