BUG: "Key" Argument of SaveToolBar & RestoreToolBar Doesn't Work
Article ID: 182943
Article Last Modified on 11/18/2003
APPLIES TO
- Microsoft Visual Basic 5.0 Learning Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
This article was previously published under Q182943
SYMPTOMS
The SaveToolbar method of the Toolbar control has three arguments that
allow you to save a registry key, subkey, and value in the registry. Upon
executing this method, only the subkey and value are saved in the registry.
CAUSE
The key argument of the SaveToolbar method is ignored. The following
example will actually store the value "Toolbar1" at the registry key
HKEY_CURRENT_USER\User1 rather than HKEY_CURRENT_USER\AppName\User1 as you
might expect:
Toolbar1.SaveToolbar "AppName", "User1", "Toolbar1"
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article. We are researching this
bug and will post new information here in the Microsoft Knowledge
Base as it becomes available.
Keywords: kbbug KB182943