Save and Save As Commands (File Menu)

   

Saves the current or selected project files to the location you specified. The Save command displays the Save File As dialog box if this is the first time the file is being saved.

The dialog box enables you to specify a new name for a component. Available only at design time.

Keyboard shortcut:  CTRL+S (Save).

Note   If you are using an integrated source code control program, such as Microsoft SourceSafe (available with the Enterprise Edition), when you save a file with the Save As command, a dialog may prompt you to add the file to the version control project. You can add a file to a SourceSafe project only if the Visual Basic project file (.vbp) is checked out.

When you use Save As to rename a file that is checked out of a source code control program, ensure that the source code control program also renames the file in the version control project.

Dialog Box Options

Save in

Select the folder where you want to store the file.

   Up One Level

Shows a list of folders or drives one level above the current folder.

   Create New Folder

Creates a new folder.

   Details

Shows the folder or documents in a list that includes the folder or document icon and name, its size (documents only), type, and the date and time it was last modified.

   List

Shows the folders or documents in a list format that includes the folder or document icon and its name.

Filename

Unless you specify a filename extension, Visual Basic automatically adds the default filename extension.

Save astype

Select a file type from the list:

Save

Saves the file under the specified name.

Cancel

Closes the dialog box without saving the file.