SaveBarState and How to remove Registry entry while UnInstallation
-
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
-
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
Sarvan AL wrote:
My aim is to remove the toolbar status entry from the registry while uninstalling the application.
Ok, so just use
RegDeleteValue()
andRegDeleteKey()
.
"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