Edit File As Text

Top  Previous  Next

The Edit File As Text feature allows you to edit a Visual Basic file (project, form, class, etc.) as a text file, to see code that it is not shown in the code window. For example, forms and usercontrols hide the definition of controls. With this feature you can edit the file as text, modify it and later reload it from disk.

MZ-Tools offers the following ways to edit a file as text:

  • The Tools | MZ-Tools | Edit File As Text menu.
  • The Edit File As Text context menu of a project in the Project Explorer of Visual Basic.
  • The Edit File As Text context menu of a form, class, module, etc. file in the Project Explorer of Visual Basic.
  • The Edit File As Text button on the MZ-Tools toolbar.
  • The shortcut customized in the Options window, Shortcuts tab.

The file is edited with the text editor that you have associated with text files (.txt extension). Typically it is Notepad, but you can use your own text editor.

Remarks:

  • This feature is not available in the VBA version of MZ-Tools.

See Also:

Reload File From Disk

Shortcuts Customization