In the Options window, you can set which workspace the IDE switches to when opening a form object, executing an application, or debugging an application.

Choose Tools > Options from the main window.

To set the workspace for form objects, expand the Editing node. Then select the Form Editor Settings node and set the Workspace property in the Expert tab.

To set the workspace that is used when you run a program, expand the Debugging and Executing node. Then select the Execution Settings node and set the Workspace property.

To set the workspace that is used when you debug a program, expand the Debugging and Executing node. Then select the Debugger Settings node and set the Workspace property.