Article ID: 938803 - Last Review: April 27, 2009 - Revision: 2.0

How to disable CAD files after you install Visio 2003 Service Pack 3 or Visio 2007 Service Pack 2

Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756  (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows
Expand all | Collapse all

INTRODUCTION

This article describes how to disable CAD .dwg files after you install Microsoft Office Visio 2003 Service Pack 3 (SP3) or Microsoft Office Visio 2007 Service Pack 2 (SP2).

MORE INFORMATION

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

After you install Visio 2003 SP3 or Microsoft Office Visio 2007 SP2, you can disable the use of .dwg files in Visio 2003 or Visio 2007. You may want to disable .dwg files in Visio 2003 or Visio 2007 to improve the security of Visio files.

When you disable .dwg files, the following behavior occurs:
  • AutoCAD Drawing (*.dwg; *.dxf) does not appear in the Files of type box in the Open dialog box
  • CAD Drawing is disabled on the Insert menu.
  • When you open a Visio file that contains a CAD object, the CAD object appears as a empty container. The ActiveX control on the CAD object is disabled.
  • AutoCAD Drawing (*.dwg; *.dxf) does not appear in the Files of type box in the Save As dialog box.
  • Convert CAD Drawings is disabled when you point to Add-ons on the Tools menu.
  • Convert CAD Library is disabled when you point to Add-ons on the Tools menu.
To disable .dwg files, follow these steps:
  1. Exit Visio.
  2. Start Registry Editor. To do this, use one of the following methods:
    • In Windows Vista, click Start
      Collapse this imageExpand this image
      the
					 Start button
      , type regedit in the Start Search box, and then press ENTER.

      Collapse this imageExpand this image
      User Account Control
					 permission
      If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
    • In Microsoft Windows XP, click Start, click Run, type regedit in the Open box, and then click OK.
  3. Locate and then click the following registry key:
    • Visio 2003: HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Visio\Application
    • Visio 2007: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Visio\Application
  4. After you click the key that is specified in step 3, point to New on the Edit menu, and then click DWORD Value.
  5. Type DisableDWG, and then press ENTER.
  6. Right-click DisableDWG, and then click Modify.
  7. In the Value data box, type 1, and then click OK.
  8. On the File menu, click Exit to exit Registry Editor.
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

APPLIES TO
  • Microsoft Office Visio 2003 Service Pack 3, when used with:
    • Microsoft Office Visio Professional 2003
    • Microsoft Office Visio Standard 2003
  • 2007 Microsoft Office Suite Service Pack 2, when used with:
    • Microsoft Office Visio Professional 2007
    • Microsoft Office Visio Standard 2007
Keywords: 
kbregistry kbupdateissue kbexpertiseinter kbhowto KB938803
 

Article Translations

 

Related Support Centers