Reload File From Disk

Top  Previous  Next

The Reload File From Disk feature allows you to reload a Visual Basic file (form, class, etc.) from disk to rollback to the previously saved copy of a file.

MZ-Tools offers the following ways to reload a file from disk:

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

Remarks:

  • This feature is not available in the VBA version of MZ-Tools.
  • Some files fail to reload. This happens typically with UserControls files that are used in other files and it is a limitation of Visual Basic. As a workaround, you can reload manually the whole project or project group without saving that file. For more info, see the MSDN Knowledge Base article Q258233: "PRB: Potential Problem with Reloading a UserControl File with an Add-In".

See Also:

Edit File As Text

Shortcuts Customization