The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Open Project Command

Opens an existing project.

File.OpenProject 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"
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft