History
-
I want to display internet explorer history in a list control.I have gone through an article in code project "Access Internet Explorer's History in MFC By Akash Kava". I have implemented the same in my application.But the application is getting a message can't get the history.When i dedugged the CoCreateInstance is failing.Any idea in this?
-
I want to display internet explorer history in a list control.I have gone through an article in code project "Access Internet Explorer's History in MFC By Akash Kava". I have implemented the same in my application.But the application is getting a message can't get the history.When i dedugged the CoCreateInstance is failing.Any idea in this?
radhika28 wrote:
I have implemented the same in my application.But the application is getting a message can't get the history.When i dedugged the CoCreateInstance is failing.Any idea in this?
show code snippet... have you checked what CoCreateInstance is returning! you can also use FormatMessage to get Human Readable message
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and you
-
radhika28 wrote:
I have implemented the same in my application.But the application is getting a message can't get the history.When i dedugged the CoCreateInstance is failing.Any idea in this?
show code snippet... have you checked what CoCreateInstance is returning! you can also use FormatMessage to get Human Readable message
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and you
Thanks ThatsAlok for ur reply.I got it. I freed the returned string fields.I have another problem now.My list control is displaying the recently accessed url's but they are arranged improperly.How can i display the items in listcontrol according to time i.e,i want to display them in descending order according to system timei.e,i want to display the last opened url first.The time in the list control is displayed in both date and time.For ex 10:46:06 12/04/06 like that.Can you help me in this.
-
Thanks ThatsAlok for ur reply.I got it. I freed the returned string fields.I have another problem now.My list control is displaying the recently accessed url's but they are arranged improperly.How can i display the items in listcontrol according to time i.e,i want to display them in descending order according to system timei.e,i want to display the last opened url first.The time in the list control is displayed in both date and time.For ex 10:46:06 12/04/06 like that.Can you help me in this.
radhika28 wrote:
The time in the list control is displayed in both date and time.For ex 10:46:06 12/04/06 like that.Can you help me in this.
either write your own sorting algorithm or use MAP<DATE,CString> way to get automatically sorted URL list based on Time.. also don't forget to switch off th default sorting of list ctrl!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and you