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. SaveBarState and How to remove Registry entry while UnInstallation

SaveBarState and How to remove Registry entry while UnInstallation

Scheduled Pinned Locked Moved C / C++ / MFC
windows-admintutorial
2 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.
  • S Offline
    S Offline
    Sarvan AL
    wrote on last edited by
    #1

    Hi Geniuses, I saving the toolbar status of my MDI application using SaveBarState (_T("TBStatus")). It works fine. It stores the status in the registry here: HKEY_CURRENT_USER\Software\Local AppWizard-Generated Applications\MyApp\TBStatus I the status to be stored in some other place, specifically here: HKEY_LOCAL_MACHINE\SOFTWARE\MyApplication\TBStatus Where "HKEY_LOCAL_MACHINE\SOFTWARE\MyApplication" is the installation entry.

    My aim is to remove the toolbar status entry from the registry while uninstalling the application.

    If anybody could suggest me a solution, I would be grateful. Thanks in advance, Sarvan AL

    D 1 Reply Last reply
    0
    • S Sarvan AL

      Hi Geniuses, I saving the toolbar status of my MDI application using SaveBarState (_T("TBStatus")). It works fine. It stores the status in the registry here: HKEY_CURRENT_USER\Software\Local AppWizard-Generated Applications\MyApp\TBStatus I the status to be stored in some other place, specifically here: HKEY_LOCAL_MACHINE\SOFTWARE\MyApplication\TBStatus Where "HKEY_LOCAL_MACHINE\SOFTWARE\MyApplication" is the installation entry.

      My aim is to remove the toolbar status entry from the registry while uninstalling the application.

      If anybody could suggest me a solution, I would be grateful. Thanks in advance, Sarvan AL

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

      Sarvan AL wrote:

      My aim is to remove the toolbar status entry from the registry while uninstalling the application.

      Ok, so just use RegDeleteValue() and RegDeleteKey().


      "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

      "We will be known forever by the tracks we leave." - Native American Proverb

      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