AFAIK, there is no way, but you can easily create a macro to close all
documents when a solution is loaded (EnvironmentEvents macro module).
Not tested:
Private Sub SolutionEvents_Opened() Handles SolutionEvents.Opened
DTE.ExecuteCommand("Window.CloseAllDocuments")
End Sub

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
> When I open a Solution in Visual Studio 2003, all the documents that were
> opened the last time I used that solution are also opened. I can see how
> this would be a useful feature, but given the way I use VS, it is just a
> hassle. I can not find any way to turn this off. When I open a solution,
> I just want the solution, and not any documents to open.
> If anyone knows a way to make it behave this way, I would appreciate it.
Jake Montgomery - 02 Feb 2006 16:41 GMT
Carlos,
Thanks, but the whole point is the time it takes to load the docs in
the first place. I assume this will only execute after they all load.
>AFAIK, there is no way, but you can easily create a macro to close all
>documents when a solution is loaded (EnvironmentEvents macro module).
[quoted text clipped - 5 lines]
> End Sub
>
Carlos J. Quintero [VB MVP] - 02 Feb 2006 17:31 GMT
Then make the macro to call the statement when the solution is closed using
the counterpart event.

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
> Carlos,
>
[quoted text clipped - 9 lines]
>> DTE.ExecuteCommand("Window.CloseAllDocuments")
>> End Sub