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. How to Wipe/Clean Internet Explorer temporary internet Files, Cookies, History, Cache using C++/VC++/MFC

How to Wipe/Clean Internet Explorer temporary internet Files, Cookies, History, Cache using C++/VC++/MFC

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
13 Posts 7 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.
  • S Shiv Murti Pal

    i need C++/VC++/MFC Code to wipe/clean Internet Explorer temporary internet Files, Cookies, History, Cache

    R Offline
    R Offline
    Rajesh R Subramanian
    wrote on last edited by
    #4

    The open source project that you were given a link to, does just that.

    It is a crappy thing, but it's life -^ Carlo Pallini

    S 1 Reply Last reply
    0
    • R Rajesh R Subramanian

      The open source project that you were given a link to, does just that.

      It is a crappy thing, but it's life -^ Carlo Pallini

      S Offline
      S Offline
      Shiv Murti Pal
      wrote on last edited by
      #5

      i am tring to develop one my own so i need a source code

      M 1 Reply Last reply
      0
      • S Shiv Murti Pal

        i am tring to develop one my own so i need a source code

        M Offline
        M Offline
        Michael Schubert
        wrote on last edited by
        #6

        Shiv Murti Pal wrote:

        i need a source code

        Are you a parrot or are you just really dense?

        S 1 Reply Last reply
        0
        • M Michael Schubert

          Shiv Murti Pal wrote:

          i need a source code

          Are you a parrot or are you just really dense?

          S Offline
          S Offline
          Shiv Murti Pal
          wrote on last edited by
          #7

          abe u r parrot and dence

          M CPalliniC 2 Replies Last reply
          0
          • S Shiv Murti Pal

            abe u r parrot and dence

            M Offline
            M Offline
            Michael Schubert
            wrote on last edited by
            #8

            Shiv Murti Pal wrote:

            abe u r parrot and dence

            Is this some obfuscated form of pidgin?

            1 Reply Last reply
            0
            • S Shiv Murti Pal

              abe u r parrot and dence

              CPalliniC Offline
              CPalliniC Offline
              CPallini
              wrote on last edited by
              #9

              Shiv Murti Pal wrote:

              abe u r parrot and dence

              Nooooooooooooooooo! I am a parrot and I dance :laugh: Though you must give me enough beer to see that happen! :-D

              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
              [My articles]

              In testa che avete, signor di Ceprano?

              1 Reply Last reply
              0
              • S Shiv Murti Pal

                How to Wipe/Clean Internet Explorer's temporary internet Files, Cookies, History, Cache using C++/VC++/MFC

                D Offline
                D Offline
                David Crow
                wrote on last edited by
                #10

                Shiv Murti Pal wrote:

                How to Wipe/Clean Internet Explorer's temporary internet Files, Cookies, History, Cache using C++/VC++/MFC

                By using DeleteFile().

                "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

                "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                1 Reply Last reply
                0
                • S Shiv Murti Pal

                  How to Wipe/Clean Internet Explorer's temporary internet Files, Cookies, History, Cache using C++/VC++/MFC

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #11

                  I recommend using the IUrlHistoryStg2::ClearHistory Method[^] Best Wishes, -David Delaune

                  L 1 Reply Last reply
                  0
                  • L Lost User

                    I recommend using the IUrlHistoryStg2::ClearHistory Method[^] Best Wishes, -David Delaune

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #12

                    No. The official way is with Internal Shell apis (Explorer does that) (8 lines of code )

                    L 1 Reply Last reply
                    0
                    • L Lost User

                      No. The official way is with Internal Shell apis (Explorer does that) (8 lines of code )

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #13

                      kilt wrote:

                      (8 lines of code )

                      Here are my 7 lines.IUrlHistoryStg2* pIHist = NULL; HRESULT hr = CoCreateInstance(CLSID_CUrlHistory,NULL, CLSCTX_INPROC, IID_IUrlHistoryStg2,(void**)&pIHist); if (SUCCEEDED(hr)) { hr = pIHist->ClearHistory(); pIHist->Release(); }
                      Best Wishes, -David Delaune

                      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