Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Open Project Command

Opens an existing project.

File.OpenProject filename

filename

Required. The full path and file name of the project to open.

The syntax for the filename argument requires that paths containing 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.

This example opens the Visual Basic project, Test1.

>File.OpenProject "C:\My Projects\Test1\Test1.vbproj"
Show:
© 2015 Microsoft