Sams Teach Yourself .Net in 21 Days
- Table of Contents
- Copyright
- About the Author
- About the Technical Editor
- Acknowledgments
- We Want to Hear from You
- Introduction
- Week 1: At a Glance
- Day 1. Introduction to the Microsoft .NET Framework
- Day 2. Introduction to Visual Studio .NET
- Day 3. Writing Windows Forms Applications
- Day 4. Deploying Windows Forms Applications
- Day 5. Writing ASP.NET Applications
- Day 6. Deploying ASP.NET Applications
- Day 7. Exceptions, Debugging, and Tracing
- Week 1. In Review
- Week 2: At a Glance
- Day 8. Core Language Concepts in Visual Basic .NET and C#
- Day 9. Using Namespaces in .NET
- Day 10. Accessing Data with ADO.NET
- Day 11. Understanding Visual Database Tools
- Day 12. Accessing XML in .NET
- Day 13. XML Web Services in .NET
- Day 14. Components and .NET
- Week 2. In Review
- Week 3: At a Glance
- Day 15. Writing International Applications
- Day 16. Using Macros in Visual Studio .NET
- Day 17. Automating Visual Studio .NET
- Day 18. Using Crystal Reports
- Day 19. Understanding Microsoft Application Center Test
- Day 20. Using Visual SourceSafe
- Introducing Visual SourceSafe
- Installing VSS
- Using the Visual SourceSafe Administrator
- Using the Visual SourceSafe Explorer
- Creating Your First VSS Project
- Using the Integrated SourceSafe Tools in Visual Studio .NET
- Viewing the History of a File in SourceSafe
- Opening an Existing SourceSafe Project
- Adding New Project Items or Projects
- Renaming Projects or Project Items
- Summary
- Q&A
- Quiz
- Exercises
- Day 21. Object Role Modeling with Visio
- Week 3. In Review
Viewing the History of a File in SourceSafe
After you've started working with files in SourceSafe, you might need to view the history of a particular project or file. All the available SourceSafe commands are readily available by selecting the Source Control menu item from the File menu. The History menu item displays the history for the selected item in the Solution Explorer. In Figure 20.14, the Form1.vb file is selected in the Solution Explorer, and its history is shown in the History dialog box.
Figure 20.14 Viewing a file's history with the History dialog box.
In this dialog, you can choose to roll back a version, get the latest version of a file, check out the file, get a report in the history, or view the SourceSafe version of the file.
Because the Form1.vb file is checked in, the copy that's in the Solution Explorer is the same as the SourceSafe version. If you need to check the actual SourceSafe version of the file in the Visual Studio .NET IDE, you can click the View button. When you click View, you have the option of viewing the file in Notepad, the SourceSafe viewer, or Visual Studio .NET. Figure 20.15 shows the Form1.vb file being viewed in the IDE from the actual version stored in SourceSafe.
Figure 20.15 Viewing a SourceSafe file in the Visual Studio .NET IDE.
Notice that the tab for this file says sst69.vb. This is a temporary file that SourceSafe creates to allow the file to be viewed outside its database. To make the process of file comparisons and viewing faster, all the temporary files that are created by checking files in and out of the VSS database are stored in your solution's folder.
Opening an Existing SourceSafe Project | Next Section

Account Sign In
View your cart