Post reply

The message has the following error or errors that must be corrected before continuing:
Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Note: this post will not display until it has been approved by a moderator.
Attachments: (Clear attachments)
Restrictions: 20 per post (20 remaining), maximum total size 32.00 MB, maximum individual size 32.00 MB
Uncheck the attachments you no longer want attached
Click or drag files here to attach them.
Other options
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S post or ALT+P preview

Topic summary

Posted by sukishan
 - Aug 13, 2009, 12:51 PM
Returning to Your Workspace, Project, and Files
By way of example, suppose that your workspace is on your M drive. Start Visual C++ 6.0. Select File, Open Workspace. (Do not use Open as that is only for opening a single C++ file.) In the resulting dialog window, select your M drive in the "Look in:" pulldown. Then move to your workspace directory by double clicking on it. Then double click on your .dsw workspace file. This opens your workspace and places you right where you left off within it. (Note that an alternative is to use My Computer to find your .dsw workspace file and to double click on it.)

To select an existing project to work on within your workspace, click on Project and then click on Select Active Project. Click on the desired project name in the list that appears. You can, of course, create a new project if you wish to do that instead. (You start with File, New, Project. Remember?)

If the file that you want to work on in the editor is not already visible, you can use File, Open to bring it into the editor. However, it is easier to use the File View pane usually shown in a window on the left. If this window is not visible, try clicking on the Workspace button near the middle of the toolbar at the top of the screen. (This button toggles on and off the viewing of your workspace information, including the File View pane.) At the bottom of this window should be tabs labeled ClassView and FileView.

Clicking on the FileView tab gives you the File View pane showing your entire workspace with all of its projects. Look for your current project. It should be listed in bold to show that it is the current active project. If there is a little box with a + in front of the line for your project, click on it to expand what is inside of this project. Inside you will probably find three folders, labeled Source Files, Header Files, and Resource Files. Your .cpp files will be in the Source Files folder. Your .h files will be in the Header Files folder. Double click on the appropriate folder and then double click on the desired file to bring it into the editor.

To close a file that you no longer want on the screen, click the lower of the two x buttons at the top right of the screen. (The upper x button closes Visual C++ itself.) You may have several files in the editor and want to close them all before opening another one.