| title | Open Project command | |||
|---|---|---|---|---|
| description | Learn about the Open Project command and how it opens an existing project or solution. | |||
| ms.date | 11/04/2016 | |||
| ms.topic | reference | |||
| f1_keywords |
|
|||
| helpviewer_keywords |
|
|||
| author | Mikejo5000 | |||
| ms.author | mikejo | |||
| ms.subservice | general-ide |
Opens an existing project or solution.
File.OpenProject filenamefilename
Required. The full path and file name of the project or solution to open.
Note
The syntax for the filename argument requires that paths that contain spaces use quotation marks.
Auto-completion tries to locate the correct path and file name as you type.
This command is not available while debugging.
The following example opens the Visual Basic project Test1:
>File.OpenProject "C:\My Projects\Test1\Test1.vbproj"