Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. History

History

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    radhika28
    wrote on last edited by
    #1

    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?

    T 1 Reply Last reply
    0
    • R radhika28

      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?

      T Offline
      T Offline
      ThatsAlok
      wrote on last edited by
      #2

      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

      R 1 Reply Last reply
      0
      • T ThatsAlok

        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

        R Offline
        R Offline
        radhika28
        wrote on last edited by
        #3

        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.

        T 1 Reply Last reply
        0
        • R radhika28

          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.

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups