OFF95: Multiple Instances of Program Started from Shortcut Bar

Last reviewed: May 28, 1997
Article ID: Q136485

The information in this article applies to:
  • Microsoft Office for Windows 95, version 7.0

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, you should first make a backup copy of the registry files (System.dat and User.dat). Both are hidden files in the Windows folder.

SYMPTOMS

When you start a program from the Office Shortcut Bar, you may start another instance of the program each time you click the button for that program.

CAUSE

If you start a program, for example, Windows Explorer, a non-Office 95 program, or any Single Document Interface (SDI) program, you start a new instance of the program each time you click the button for that program on the Office Shortcut Bar. SDI programs, such as Office Binder, Windows Explorer, or Paint, allow only one document to be open at a time. Each time you try to switch to the program by clicking the button on the Office Shortcut Bar, a new instance of the program is started.

WORKAROUNDS

To switch to the instance of an SDI program that is already running, use any of the following methods.

Method 1

Press ALT+TAB.

Method 2

Click the program button on the Windows taskbar.

Method 3

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows 95. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, you should first make a backup copy of the registry files (System.dat and User.dat). Both are hidden files in the Windows folder.

Edit the Windows registry. To do this, use the following steps:

  1. On the Start menu, click Run and type "regedit" (without the quotation marks).

  2. Backup or export the HKEY_LOCAL_MACHINE key before you make any changes.

  3. Click the following key:

          HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Shortcut Bar\SIA (Single
          Instance Program).
    

  4. On the Edit menu, point to New, and then click Binary Value. The Office Programs appear in the right pane of the registry.

  5. Type the name of executable file (for example, Notepad.exe) and press ENTER.

  6. Close the Registry Editor.

  7. Restart the Office Shortcut Bar.

    This step is necessary for the Office Shortcut Bar to read the registry entry you created.

MORE INFORMATION

Programs such as Microsoft Excel, Word and PowerPoint are multiple document Interface (MDI) programs and do not start another instance of the program each time you click the Office Shortcut Bar button for the program. MDI programs allow you to edit multiple documents at one time; therefore, opening a second instance of the program is unnecessary.

Not all non-Office programs start another instance of a program that is already running. Microsoft Mail and Schedule+ are two examples of programs that behave like MDI programs. They do not start a new instance of the program.

REFERENCES

For additional information, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q82163
   TITLE     : Differences Between the Mini- and Full-OLE Servers

   ARTICLE-ID: Q124062
   TITLE     : MOM/OSB Program Button/Command Always Runs New Instance


Additional reference words: OSB

Keywords : kbenv kbtool kbtool
Version : 7.00
Platform : WINDOWS
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 28, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.