Microsoft KB Archive/298739

= Where registry settings are stored in Visio 2002, part 2 =

Article ID: 298739

Article Last Modified on 7/27/2006

-

APPLIES TO


 * Microsoft Visio 2002 Standard Edition
 * Microsoft Visio 2002 Professional Edition

-



This article was previously published under Q298739



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



For a Microsoft Visio 2000 version of this article, see 298435.



SUMMARY
This article is part 2 of a series of six Microsoft Knowledge Base articles that describe where registry settings are stored for Microsoft Visio 2002. For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

298736 Vso2002: Where Registry Settings Are Stored: Part 1

298740 Vso2002: Where Registry Settings Are Stored: Part 3

298742 Vso2002: Where Registry Settings Are Stored: Part 4

298744 Vso2002: Where Registry Settings Are Stored: Part 5

298747 Vso2002: Where Registry Settings Are Stored: Part 6

About Visio Registry Entries
Visio uses the Windows registry to store user settings and other application-specific information. To keep the entries in the registry to a minimum, Visio automatically writes out those settings that are not default and a few others that are useful, such as, file paths, import and export filters, and last files.

You can include all possible settings in the Windows registry. To do this, follow these steps:
 * 1) Start Visio.
 * 2) On the Tools menu, click Options, and then click the Advanced tab.
 * 3) Click to select the Put all settings in Windows registry check box.
 * 4) Click OK.
 * 5) Quit Visio.

The following registry subkey

contains settings that are application-wide in scope. Most Visio settings are stored in this subkey. This article picks up where Part 1 ends in explaining the settings stored in this subkey.



MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

[application] section
The [application] section includes settings that are application-wide in scope. Following is a detailed explanation of some of the items in this subkey. For a detailed explanation of the remaining items, see the following Microsoft Knowledge Base article:

298736 Vso2002: Where Registry Settings Are Stored: Part 1

NetFlags=0
Used to resolve an error 113, 115, or 116 that can occur when saving a file, particularly to a network or floppy disk drive. These errors tend to occur when a user's network permissions are incompatible with the permissions that Visio needs in order to save files. 1  Remove the user's file naming privileges. 3  Remove the user's file rename and delete privileges.

NewDocCreateMode=0
Determines whether new documents are loaded from a resource or built from scratch 0 = Use application default (from resource). 1 = Load new documents from resource. 2 = Build new documents from scratch.

NewDocMetric=0
Determines whether new documents are built with imperial or metric formulas. 0 = Use application default. 2 = Always use imperial formulas. 3 = Always use metric formulas.

NewFilesSavePreview=1
Non-zero to save a preview picture of the file. This is the same as checking Save Preview Picture in the Properties dialog box.

NoVBA=0
Non-zero disables Visual Basic for Applications (VBA) in Visio.

OLESizeIncludeBlackBits=1
Non-zero    When embedding a Visio object, tightly enclose all of the object's black bits, regardless of the position of the object's alignment box.

Zero        Clip the object to its alignment box, even if part of              the shape is outside of the box.

OLEUpdateDelay=10000
The number of milliseconds between updates when Visio is embedded.

OpenHierarchical=0
Non-zero changes the Open command on the File menu into a hierarchical submenu, similar to the New and Stencils submenus.

OpenPreview=1
Non-zero to display a preview picture of the file in the Open dialog box. This is the same as checking File Preview in the dialog box.

OpenStencilsDocked=1
Zero        Open stencils in floating windows. Non-zero    Open stencils docked in the drawing window.

OpenStencilsReadWrite=0
Zero        Open stencils with read-only access. Non-zero    Open stencils as original (read/write access) by default.

PageBorderDisplay=1
Zero        Don't display a border or its shadow around the drawing page. Non-zero    Display a border and its shadow around the drawing page.

PrintMethodUsesSystemDefault=0
Determines which printer the Print method will use. 0    The Print method prints the drawing's cached printer. (Default      behavior for releases prior to 5.0c.)

1    The Print method prints to the system default printer, which can be       different than the drawing's cached printer. The printer information cached in the drawing is NOT changed, even if the system default printer is different from the drawing's cached printer.

PromptForSummaryInfo=1
0    Do not prompt for summary information when saving a file for the first time.

1    Prompt for summary information.

PutAllInRegistry=0
Set this value to 1 to have Visio write all settings to the registry. PutAllInRegistry can be set through the Visio user interface (UI). To do this, click Options on the Tools menu, and then click the Advanced tab. Click to select the Put all settings in Windows registry check box and click OK.

This replaces IniShowAll in earlier versions of Visio.

RegionComplexity=150
To enable faster redraw, this number determines the maximum number of:
 * Rectangles used to make up update region of the drawing window.
 * &quot;Top-level&quot; shapes that can contribute invalid rectangles to the update region (that is, the number of objects that can contribute their bounding boxes). In releases prior to 5.0c, this number was hard coded as 5.

If this number is exceeded, then the overall encompassing rectangle for all invalid objects is used to invalidate the drawing window, and ALL objects in the rectangle will be redrawn.

RegistrationFlags=0x1D6F
To combine options, add values from the following list: 0x0001    Register for Visio 1.0 OLE objects. 0x0002    Register for Visio 2.0 OLE objects. 0x0004    Register for Visio 3.0 OLE objects. 0x0008    Auto-convert Visio 2.0 and Visio 3.0 embedded objects to Visio 4.0 format. 0x0010    Do not auto-convert Visio 2.0 or Visio 3.0 embedded objects to Visio 4.0 format. 0x0020    Register the Visio file extensions. 0x0040    Register support for Lotus Notes F/X. 0x0100    Register Visio Automation. 0x0200    Use UNC syntax if running from a network drive. For best results, do not set this flag on Novell networks. 0x0400    Register for Visio 4.0 customizable UI objects. 0x0800    Register for Visio 4.0 OLE objects. 0x1000    Register the shell extensions for Windows 95.

SaveFileFormat=0
Sets the default file format used when saving Visio files. 0 = Visio 2000 format. 1 = Visio 5.0 format.

ShowDefaultFont=0
Non-zero to display the font specified by DefaultFontName enclosed in angle brackets (< >) at the top of the font list. If you format text in the default font, Visio automatically uses whatever font is defined as the default on a the system.

ShowKanaFindUI=0xffff
Asian text settings found on the Regional Settings tab in the Options dialog box (click Options on the Tools menu). <pre class="fixed_text">0xffff = use system settings 0x1 = Show 0x0 = Hide

ShowLostStencilAlert=0
Determines whether to display an alert when a document is opened, and a referenced stencil can not be found. False is the default for post-Visio 5.0 products. <pre class="fixed_text">0 = Do not display alert. 1 = Display alert.

ShowTextRuler=0
Shows or hides the text ruler (shown when editing text). <pre class="fixed_text">0 = Do not display text ruler. 1 = Display text ruler.

ShowVerticalTextUI=0
Asian text settings found on the Regional Settings tab in the Options dialog box (click Options on the Tools menu). <pre class="fixed_text">0xffff = Use system settings. 0x1   = Show. 0x0   = Hide.

SingleInstanceFileOpen=1
Determines whether to run a new instance of Visio every time a Visio file is opened by double-clicking it in the Windows Explorer. <pre class="fixed_text">Zero        Run a new instance each time a file is double-clicked.

Non-zero    Open all files in a single instance of Visio; run a new instance only if one is not already running.

SnapGridX=8 and SnapGridY=8
The distance in pixels that an object must be from a grid line before the object snaps to that grid line in the x (horizontal) or y (vertical) direction.

SnapGuideX=10 and SnapGuideY=10
The distance in pixels that an object must be from a guide before it snaps to that guide in the x (horizontal) or y (vertical) direction.

SnapPointX=10 and SnapPointY=10
The distance in pixels that an object must be from a connection point or vertex before the object snaps to that point in the x (horizontal) or y (vertical) direction.

SnapRulerX=4 and SnapRulerY=4
The distance in pixels that an object must be from a ruler subdivision before the object snaps to that tic in the x (horizontal) or y (vertical) direction.

SpellAPI=0
<pre class="fixed_text">0  Use the spell checker installed with Visio. 1  Use the spell checker provided with Microsoft Word.

SpellLibraryPath=
The location of the DLL that Visio uses to check spelling. If you change the SpellLibraryPath entry, make sure you also change SpellAPI to the correct setting for the new DLL. Note that 16-bit Visio requires a 16-bit spell checker, and 32-bit Visio requires 32-bit spell checker.

StartUpPath=Startup
The location of Visio add-on executables and libraries that contain add-ons that are intended to run when Visio is started. Can be relative to the location of Visio.exe or fully qualified.

StatusDisplay=1
<pre class="fixed_text">Zero        The status bar is not displayed. Non-zero    The status bar is displayed.

StencilDisplayMode=0
Determines how stencils are displayed (set from the Stencil toolbar). <pre class="fixed_text">0 = Names and Icons. 1 = Icons only. 2 = Names only.

StencilIconsAsButtons=1
<pre class="fixed_text">Non-zero    Create a button-style border around auto-updating master icons.

StencilPath=Solutions
The location of stencils that appear in the New dialog box and the Stencils dialog box. This path can be relative to the location of Visio.exe or fully qualified. Multiple paths are separated by a semicolon. For example: StencilPath=stencil;c:\mydata\visio

StopCircularLinks=1
<pre class="fixed_text">Non-zero    Prevents some of the problems with circular OLE links by not forwarding data change notifications.

StretchBltMode=0
Determines the appearance of bitmaps when they are stretched or compressed or displayed at other than 100% magnification. <pre class="fixed_text">0  Visio chooses the appropriate mode for the type of bitmap.

1  Preserves black pixels at the expense of colored or white pixels. This is the default.

2  Preserves colored or white pixels at the expense of     black pixels.

3  Deletes eliminated lines and does not preserve them.

TemplatePath=Solutions
The location of templates and stencils that appear in the New dialog box. This path can be relative to the location of Visio.exe or fully qualified. Multiple paths are separated by a semicolon. For example: TemplatePath=template;c:\mydata\visio

TextAutoZoomFontSize=8
The font size that activates auto-zooming of text.

TextBaselineAlignment=1
<pre class="fixed_text">Zero         Use top alignment for text output. This setting can be              helpful for certain printers that have trouble with rotated text.

Non-zero     Use baseline alignment for text output.

TileStencilWindowWidth=172
The width in screen pixels of the stencil window, including the scroll bar, when the window is tiled.

TipsDialogs, TipsDrawing, TipsEnabled, TipsRulers, TipsShapeSheet, and TipsStencil=1
Show or hide screen tips for various aspects of the Visio UI. You can change these settings in Visio. To do this, click Options on the Tools menu, click the General tab, click to clear or select the options in the Enable Screen Tips section. <pre class="fixed_text">0 = Do not display screen tips. 1 = Display screen tips.

TurnOffBitMapCache=0
<pre class="fixed_text">Zero        Cache linked or embedded objects that are opaque as              bitmaps for faster screen redraw.

Non-zero    Do not cache objects as bitmaps.

UIDefaultFontCharset=0xFFFF
The character set of the font used in the Visio UI, as defined in the Windows logical font structure for that font. Common character set values are 0 for ANSI, 2 for Symbol, and 255 for OEM (system- dependent). &quot;0xFFFF&quot; tells Visio to use the current system defaults.

UIDefaultFontFamily=0xFFFF
The family of the font used in the Visio UI, as defined in the Windows logical font structure for that font. &quot;0xFFFF&quot; tells Visio to use the current system defaults.

UpdateIconBorderOnly=0
Non-zero to update only the border of the icon, so it looks three-dimensional.

UserDictionaryPath1 =
Specifies a path to a user defined custom dictionary for use with the

spell checker.

UseRGBForDocumentColors=2
This affects only drivers that use color palettes.

UseRGBForPatternLines=0
A value of 1 tells Visio to use RGB when drawing patterned lines on color palette devices. This is a workaround for the behavior of certain video systems.

UseRGBForUIColors=2
<pre class="fixed_text">0x01    Use RGB colors when running standalone. 0x02    Use RGB colors when running in-place.

UserName=Name
Used to initialize the Creator section in the Properties dialog box, as well as the text for the Document Creator field. You can set UserName in the Options dialog box.

Year20Is1920 = 0
Configures how a 2-digit year is interpreted. For example '19 would be 2019 and '21 would be 1921. False is the default.

ZoomMode=0
<pre class="fixed_text">0         The center of the selection remains stationary when zooming. 1         The selection is centered in the window when zooming.

ZoomOnRoll = 0
Tells Visio to zoom the drawing window when scrolling by using the wheel on a mouse with a wheel. False is the default.

Additional query words: reg

Keywords: kbregistry kbhowto kbinfo KB298739

-

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

© Microsoft Corporation. All rights reserved.