Microsoft KB Archive/114989

{|
 * width="100%"|

No Bookshelf 1994 Toolbar Button in Word for Windows

 * }

Q114989

-

The information in this article applies to:


 * Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
 * Microsoft Bookshelf for Windows 1994 edition

-

SYMPTOMS
When you install Microsoft Bookshelf 1994 and choose to integrate it with Word for Windows, no Bookshelf toolbar button appears in Word.

NOTE: Microsoft Bookshelf for Windows, 1994 Edition, does not integrate with Microsoft Word for Windows 95, versions 7.0 or later. Bookshelf 1994 is a 16-bit application and is not supported with 32-bit applications.

CAUSE
By design, Bookshelf 1994 does not add the Bookshelf toolbar in Word. When you integrate Bookshelf 1994 with Word for Windows, Bookshelf Setup adds the "Quote of the Day" command to the View menu in Word and the "Copy to Word" command to the Edit menu in Bookshelf. For Word 6.0, Bookshelf Setup copies the Bshelf94.dot template to your Word STARTUP subdirectory (usually Winword\Startup). For Word 2.x, Bookshelf Setup places the "Quote of the Day" macros in your Normal.dot file.

Method 1
To start Bookshelf 1994 from Word, use the Quickshelf toolbar.

Method 2
Create the following WordBasic macro and assign it to a toolbar button in Word. This macro uses the Shell statement to launch Bookshelf 1994 from Word.

WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this macro code "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  Sub MAIN Shell "C:\BOOKS94\BS94.EXE" End Sub NOTE: This macro assumes that Bookshelf 1994 is installed in the C:\Books94 directory on your computer. Modify the macro accordingly if you installed Bookshelf 1994 somewhere else on your computer.

MORE INFORMATION
Below are excerpts from the Bookshelf 1994 Readme.txt that describe how to integrate Bookshelf 1994 with Word.

NOTE: The description of the WabSetup macro in Bshelf94.dot contains the following incorrect information:

"Copies Word & Bookshelf macros to Normal.dot, adds the Bookshelf button to the Toolbar, and adds a few commands to menus." Bookshelf copies macros to Normal.dot only if you are running Word 2.x, not if you are running Word 6.0. Furthermore, the macro does not add the Bookshelf button to the toolbar, regardless of which Word version you are running.

Setup Issues
During Setup, you will be given the option of installing the feature that integrates Bookshelf and Word for Windows if your system meets the following conditions:


 * A non-network version of Word for Windows, version 2.x or 6.0, is installed.

For Word for Windows 2.x:


 * Your Win.ini file contains a [Microsoft Word 2.0] section that includes a programdir={path} line and specifies a valid Winword.exe file.

For Word for Windows 6.0:


 * Your Win.ini file contains a [MS Setup (ACME) Table Files] section that includes a Winword.exe@V6...={path}\Setup\Setup.exe line and specifies a valid Winword.exe file.
 * Your hard drive has enough space to support this feature.

If you install the integration feature, the Setup program modifies Normal.dot, the global document template for Word 2.x, to customize the Word Toolbar and menus. Changes you have made to the Toolbar, to the default menus, and so on, are preserved.

The integration feature adds these features to Bookshelf and Word:


 * The "Quote of the Day" command on the Word View menu.
 * The "Copy to Word" command on the Bookshelf Edit menu.

To send a topic from Bookshelf to Word, choose the "Copy to Word" command from the Edit menu. Detailed information on copying to Word is available from Bookshelf Help.

Manual Integration of Bookshelf with Word 6.0 for Windows
The following directions assume your hard disk drive is drive C, that Bookshelf is installed in C:\BOOKS94, Windows is installed in C:\Windows, Word for Windows 6.0 is installed in C:\Winword and that your CD-ROM drive is drive X.

To manually integrate Bookshelf with Word 6.0 for Windows:

 Copy x:\Word\Bshelf94.dot to C:\Winword\Startup. Copy x:\Word\Bookshlf.dll to C:\Windows\System. Copy X:\Word\Bsword.hlp to C:\Books94. After copying these files to the hard drive, remove the Read Only attribute. To remove the Read Only attribute:

 In the Main Window of Windows Program Manager, open File Manager. In the C:\Winword\Startup directory, select the Bshelf94.dot file. From the File menu, choose Properties. In the Attributes section, clear the Read Only check box.</li> Choose OK.</li> Repeat steps a through e for Bookshlf.dll and Bsword.hlp.</li></ol> </li>  Use Notepad or any other text editor to add the following entries to the [Bookshelf] section of the Win.ini file: <pre class="CODESAMP">     [Bookshelf] integration=2 LastQuote=1 BSWordHelp=C:\BOOKS94\BSWORD.HLP </li></ol>

Integration of Bookshelf 1994 and Word for Windows 6.0 is now complete.