Click here to Skip to main content
14,872,324 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: INT_PTR/INT usage confusion Pin
bob1697224-May-06 7:38
Memberbob1697224-May-06 7:38 
GeneralRe: INT_PTR/INT usage confusion Pin
Zac Howland24-May-06 8:30
MemberZac Howland24-May-06 8:30 
GeneralRe: INT_PTR/INT usage confusion Pin
bob1697224-May-06 9:20
Memberbob1697224-May-06 9:20 
QuestionHow to acquire the Scrolling distance ?? Pin
llp00na24-May-06 4:34
Memberllp00na24-May-06 4:34 
AnswerRe: How to acquire the Scrolling distance ?? Pin
Steve Echols24-May-06 18:35
MemberSteve Echols24-May-06 18:35 
QuestionHelping with including a file :D [modified] Pin
Mahhouraaaaaa24-May-06 4:21
MemberMahhouraaaaaa24-May-06 4:21 
AnswerRe: Helping with including a file :D [modified] Pin
bob1697224-May-06 5:07
Memberbob1697224-May-06 5:07 
QuestionInternet Explorer History Pin
rajeevktripathi24-May-06 3:53
Memberrajeevktripathi24-May-06 3:53 
HI all
I want to delete Internet Explorer's history , for this using method ClearHistory of IUrlHistoryStg2 interface.
the code that i am using is as follows
<br />
	HRESULT  hRes;<br />
	IUrlHistoryStg2* pUrlHistoryStg2 = NULL;<br />
	CoInitialize(NULL);<br />
<br />
	 hRes  =  CoCreateInstance(CLSID_CUrlHistory, NULL, <br />
			CLSCTX_INPROC_SERVER, IID_IUrlHistoryStg2, <br />
			(void**)&pUrlHistoryStg2);<br />
<br />
	 if(SUCCEEDED(hRes))<br />
	 {<br />
		hRes =  pUrlHistoryStg2 -> ClearHistory();<br />
	 }<br />
	 MessageBox("History is Cleaned");<br />


here the function succeeded bu does not clear the history.

Please suggest me how to clear history of Internet Explorer.

Thanks
AnswerRe: Internet Explorer History Pin
Chris Losinger24-May-06 4:43
professionalChris Losinger24-May-06 4:43 
AnswerRe: Internet Explorer History Pin
David Crow24-May-06 4:50
MemberDavid Crow24-May-06 4:50 
Questionboost::weak_ptr exception Pin
LionAM24-May-06 3:32
MemberLionAM24-May-06 3:32 
Question(High-color) icon management Pin
Andre xxxxxxx24-May-06 3:24
MemberAndre xxxxxxx24-May-06 3:24 
AnswerRe: (High-color) icon management Pin
grigsoft24-May-06 6:56
Membergrigsoft24-May-06 6:56 
GeneralRe: (High-color) icon management Pin
Andre xxxxxxx24-May-06 9:08
MemberAndre xxxxxxx24-May-06 9:08 
QuestionPassing on varargs Pin
Steve S24-May-06 3:13
MemberSteve S24-May-06 3:13 
AnswerRe: Passing on varargs Pin
Chris Losinger24-May-06 3:21
professionalChris Losinger24-May-06 3:21 
GeneralRe: Passing on varargs Pin
Steve S24-May-06 3:41
MemberSteve S24-May-06 3:41 
QuestionRe: Multi columns values in combo box [modified] Pin
David Crow24-May-06 3:03
MemberDavid Crow24-May-06 3:03 
QuestionWrite CD Pin
devcdd24-May-06 2:29
Memberdevcdd24-May-06 2:29 
QuestionRe: Write CD Pin
David Crow24-May-06 3:04
MemberDavid Crow24-May-06 3:04 
AnswerRe: Write CD Pin
devcdd24-May-06 22:52
Memberdevcdd24-May-06 22:52 
QuestionRe: Write CD Pin
David Crow25-May-06 2:44
MemberDavid Crow25-May-06 2:44 
AnswerRe: Write CD Pin
devcdd25-May-06 4:00
Memberdevcdd25-May-06 4:00 
GeneralRe: Write CD Pin
David Crow25-May-06 4:04
MemberDavid Crow25-May-06 4:04 
QuestionTools for logging funtion parameter values Pin
Anil_vvs24-May-06 2:18
MemberAnil_vvs24-May-06 2:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.