Microsoft KB Archive/255156

= Visio5: Setting Up the Microsoft Visio Toolbar Button in Shared Microsoft Office 97 Programs =

Article ID: 255156

Article Last Modified on 11/3/2003

-

APPLIES TO


 * Visio 5.0 Professional
 * Visio 5.0 Technical

-



This article was previously published under Q255156



SYMPTOMS
When you install Visio Professional 5.0 or Visio Technical 5.0, you can select the option to add a Visio button to the toolbars of compatible Microsoft Office 97 programs. If the compatible Office 97 program is running shared from a server, Visio Setup will not add the Visio button to the toolbars of Office 97 programs. Although Visio Professional 5.0 and Visio Technical 5.0 Setup can only add the Visio button to locally installed Office 97 program, you can manually add the Visio button to shared Office 97 program.



RESOLUTION
To install the Visio button to the toolbars of shared Office 97 program:  Log on to the server as the Administrator, install Microsoft Office 97 on the server for shared use, and then reinstall Visio, either locally or onto the server for shared use. For instructions on installing Microsoft Office 97 to a server for shared use, see the instructions included on the Office 97 CD. For instructions on installing Visio Professional 5.0 or Visio Technical 5.0 to a server for shared use, see the Network.txt file included in the Visio folder on the Visio CD.

NOTE: As the administrator, you would not want to set up these programs to run from your workstation because of permissions issues pertaining to the correct usage of user configuration files. For example, in a shared network installation of Visio 5.0, a Visio.ini file will be created in the shared Visio\System folder on the server unless either Visio32.exe or the Visio folder has been marked read-only through the networking software. If either Visio32.exe or the Visio folder is marked read-only, a Visio.ini file will be created in each user's Windows folder the first time that they run Visio Professional from the server, allowing them to retain their own Visio Professional configuration settings.

However, after a Visio.ini file has been created in the shared Visio\System folder, it will override the creation or use of any Visio.ini file on the local workstations. If it is intended that all users retain their own Visio.ini file, simply delete the Visio.ini file from the shared location and confirm that either the Visio32.exe or the Visio folder has, in fact, been marked as read-only. This holds true for the Office 97 programs and their user configuration files. On the server, delete the Normal.dot, "Insert Visio Button.xls," and "Insert Visio Button.dot" files from the Office 97 folders. Log on to a workstation as a User. Install a shared or local copy of Visio to the workstation. (When you install Visio before Office 97, Visio Setup skips the Visio toolbar installation options. Install Office 97 to the workstation from the server. Set up the Visio button for Microsoft Word 97:  Copy the "Insert Visio Button.dot" file from the Visio\System\Custom folder on the server to the Program Files\Microsoft Office\Templates folder on the workstation.</li> In the Program Files\Microsoft Office\Office\Startup folder, create a shortcut to the Program Files\Microsoft Office\Templates\Insert Visio Button.dot file. The shortcut file named "Insert Visio Button.dot" has an arrow in the lower-left corner, indicating it is a shortcut.</li> Start Word. The Visio button appears on the Word toolbar. Click the Visio button to test the operation. Visio should open in-place in the Word document.</li></ol> </li> Set up the Visio button for Microsoft Excel 97: <ol style="list-style-type: lower-alpha;"> Copy the "Insert Visio Button.xls" file from the Visio\System\Custom folder on the server to the Program Files\Microsoft Office\Templates folder on the workstation.</li> In the Program Files\Microsoft Office\Office\Xlstart folder, create a shortcut to the Program Files\Microsoft Office\Templates\Insert Visio Button.xls file. The shortcut file named "Insert Visio Button.xls" has an arrow in the lower-left corner, indicating it is a shortcut.</li> Change the default startup folder of Excel to the Program Files\Microsoft Office\Office\Xlstart folder: <ol> In Excel, click Options on the Tools menu.</li> In the Options dialog box, click the General tab.</li> In the Alternative Startup File Location text box, type the path name for the Xlstart folder, C:\Program Files\Microsoft Office\Office\Xlstart.</li></ol> </li> Start Excel. The Visio button should be on the Excel toolbar. Click the Visio button to test the operation. Visio should open in-place in the Excel worksheet.</li></ol> </li></ol>

<div class="moreinformation_section">

Additional Workarounds
Open a Visio drawing in an Office 97 program by clicking Object on the Insert menu. In the Insert Object dialog box, select Visio 5 Drawing, and then click OK. Visio should open in-place in the Office 97 program.

Or, install Office 97 locally to the workstation and install Visio to the workstation either locally or for shared use from a server.

Keywords: KB255156

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.