Click here to Skip to main content
15,881,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone.....


I need to clear all browsing history from Windows desktop application?
how it would be possible? give brief code of that application.

Thanking You
Posted
Comments
Kornfeld Eliyahu Peter 2-Sep-14 3:30am    
Browsing history of what? The application. The browser? Which browser?
krishna97 2-Sep-14 3:32am    
browser cookies and history can delete from Windows desktop application through
Kornfeld Eliyahu Peter 2-Sep-14 3:36am    
Which browser? There is a few of them and all store history in a different way...
Richard MacCutchan 2-Sep-14 3:32am    
What program are you talking about?
syed shanu 2-Sep-14 3:33am    
Chk this link hope this will help you :
http://www.codeproject.com/Articles/7500/The-Tiny-Wrapper-Class-for-URL-History-Interface-i

1 solution

You can't.
Not reliably, anyway: each browser stores it's information (including cookies, history and so forth) differently. IE uses individual files in a folder, Chrome uses an SqLite database.

Unless you could guarantee to know exactly which browser is concerned, and which version (there are 32 and 64 bit versions of Chrome for example) and that it isn't running (because some information is "cached" in memory, and Chrome holds it's DB open while any browser page is open) you are on a loser from the start.

And that doesn't start to cover the "smaller" browsers available - of which there are many.

If you want to do it far a specific version of a specific browser, you probably can - in which case, start with google.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900