OFF97: "Access Violation" When You Add a Button to the OSB

ID: Q159472


The information in this article applies to:


SYMPTOMS

When you add a new button to a toolbar on the Shortcut Bar in Microsoft Office 97, you may receive the following error message:

An application error has occurred and an application error log is being generated.

MSOFFICE.exe
Exception: access violation (0xc0000005), Address: 0x77e72f88
and the Office Shortcut Bar stops responding.


CAUSE

This problem occurs when all of the following conditions are true:

If the .exe file contains no icons, you cannot add a button to the Office Shortcut Bar that points to that program on a computer that is running Windows NT 4.0.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

To add a new button to the Microsoft Office 97 Shortcut Bar, use the following steps:

  1. Click the control menu in the upper-left corner of the Office Shortcut Bar. On the menu that appears, click Customize.


  2. Click the Buttons tab.


  3. In the list of toolbars, click the name of the toolbar to which you want to add a button, and then click Add File.


  4. In the Add File dialog box, select the program you want to add, and click Add.


The new button appears on the toolbar.

When you select a program to add to the toolbar in step 4, look at the icon to the left of the program name. If the icon is a generic window icon, the program you are adding may not contain icons. If this program is a .exe file, and you are using Windows NT 4.0, the Office Shortcut Bar may stop responding when you click Add.

This problem does not occur when any of the following conditions are true:

Additional query words: OFF97


Keywords          : offosb 
Version           : WINDOWS:97; winnt:4.0
Platform          : WINDOWS winnt 
Issue type        : 

Last Reviewed: May 25, 1999