Home Page Icon
Home Page
Table of Contents for
Cover
Close
Cover
by Marc Young, Brian Johnson, Craig Skibo
Working with Microsoft® Visual Studio® 2005
Working with Microsoft® Visual Studio® 2005
Dedication
A Note Regarding Supplemental Files
Acknowledgments
Introduction
Who Is This Book For?
System Requirements
Prerelease Software
Technology Updates
Code Samples
Support for This Book
Questions and Comments
1. Introducing Visual Studio 2005
What Is Visual Studio 2005?
Developing for .NET
Building Native Applications
Visual Studio 2005 Features
Editors, Designers, and Tool Windows
The Start Page
The Editor
Designers
Tool Windows
Visual Studio 2005 File Paths
Visual Studio 2005 Extensibility
Macros
Add-Ins
Wizards
Starter Kits
The Visual Studio SDK
Looking Ahead
2. Project Management in Visual Studio 2005
Overview of Solutions and Projects
Understanding Solutions
Solution Items and Miscellaneous Files
Solution Properties
Common Properties
Configuration Properties
Solution and Solution User Options Files
Projects
Project Items
Project Properties
Saving a Custom Configuration
Configuration Properties
Visual C++ Projects
Project Source Files
Project Dependencies
Building Projects and Solutions
Looking Ahead
3. The Visual Studio Editor
Documents in the IDE
It's All About Text
Typing and Shortcuts
Common Editing Shortcuts
Custom Keyboard Shortcuts
Other Keyboard Schemes
Understanding Tabs and Code Formatting
Other Editing Features in Visual Studio 2005
Code Snippets
Refactoring
Code Definition Window
Call Browser
Line Numbering and Outlining
Line Numbering
Outlining
Programming Help
IntelliSense
Brace Matching
Using the Command Window
Search, Replace, and Regular Expressions
Incremental Searching
Looking Ahead
4. Community Content and VSTemplates
Community Content
Installing Content
Security
Creating Downloadable Content
The VSContent File Format
Installing Templates and Starter Kits
Installing Controls to the Toolbox
Installing Code Snippets
Installing Add-ins and Macros
Zipping
Signing Your Content
Implementing Your Own Downloadable Types
Creating the Project
Interface Implementation
The Site Interface
Registration
An Example—Samples Installer
Security Attributes
Creating VSTemplates
Using the Export Template Wizard
Creating Templates by Hand
The VSTemplate Schema
The TemplateData Section
The TemplateContent Section
Wizard Data
Storing the Template on Disk
Wizard Extensions
Security Attributes
Looking Ahead
5. Using Visual Studio Macros
Macros: The Duct Tape of Visual Studio
Recording Visual Studio Macros
Macro Commands
Editing Macros in the Macros IDE
A Simple Macro
Working with Macros
Manipulating Documents and Text
Moving Windows
Macro Events
Sharing Macros with Others
Exporting Modules and Projects
Looking Ahead
6. Extending the IDE with Add-Ins
Running the Add-In Wizard
The Add-In Project
Loading the Add-In
Debugging the Add-In
Add-In Architecture
Writing an Add-In from Scratch
Compiling the Basic Add-In
Registering the Basic Add-In with Visual Studio
Add-In Events
The Add-In Event Sequence
The IDTExtensibility2 Interface
The EnvDTE and EnvDTE80 Namespaces
OnConnection
OnStartupComplete
OnAddInsUpdate
OnBeginShutdown
OnDisconnection
The .Addin File
Host Application Information
Add-In Information
Satellite DLLs
Looking Ahead
7. Exploring Commands Programmatically
What Is a Command?
Locating Commands
Command Names
Executing Commands
Creating Macro Commands
Creating an Add-In Command
Handling a Command Invocation
Command State
MRU Button Commands
Drop-Down Combo Boxes and MRU Combo Boxes
Programmatically Determining Command State
How an Add-In Command Handler Is Found
The Command User Interface
The Command Bar Object Model
The Primary Command Bar
Adding New Command Bar Elements
Using Custom Bitmaps
Regenerating Commands and Their User Interface
Looking Ahead
8. Managing Solutions and Projects Programmatically
Working with Solutions
Creating, Loading, and Unloading Solutions
Enumerating Projects
Adding Projects to a Solution
Capturing Solution Events
Working with Project Items
Enumerating Project Items
Adding and Removing Project Items
Working with Language-Specific Project Objects
VSProject Projects
References
Web References
Imports
ProjectProperties
Using Visual Studio Utility Project Types
Miscellaneous Files Project
Solution Folders
Unmodeled Projects
Project and Project Item Events
Managing Build Configurations
Manipulating Solution Settings
SolutionConfiguration and SolutionContext Objects
StartupProjects
Project Dependencies
Manipulating Project Settings
ConfigurationManager Object
Project Configuration Properties
Build Events
Persisting Solution and Project Information Across IDE Sessions
Looking Ahead
9. Programming the Visual Studio User Interface
Window Basics
The Windows Collection
Using the Object Property
Shortcuts to Common Tool Windows
The Main Window
Explorer Windows and the UIHierarchy Object
The UIHierarchy Object Tree
The UIHierarchy Object
The UIHierarchyItems Object
The UIHierarchyItem Object
The Toolbox Window
Tabs and Items
Adding Items to the Toolbox
The Task List Window
Task List Items
Adding New Tasks
Category and SubCategory
Description
Priority
Icon
Checkable
File and Line
CanUserDelete
FlushItem
The TaskItem Object
AutoNavigate
Task List Events
Comment Tokens
The Error List Window
The Output Window
Output Window Panes
The Forms Designer Window
The IDesignerHost Interface
Marshaling
Adding Controls to a Form
Finding Existing Controls
A Form Layout Sample
Creating Custom Tool Windows
Setting the Tab Picture of a Custom Tool Window
Setting the Selection Object
The Options Dialog Box
Changing Existing Settings
Creating Custom Settings
Declaring the XML for a Tools Options Page
The IDTToolsOptionsPage Interface
Exposing a Property Object
Looking Ahead
10. Text-Editing Objects and Events
Editor Windows
The Window Object
The TextWindow and HTMLWindow Objects
The TextPane Object
Finding TextPane Objects
Documents
The Document Object
Creating and Finding Documents
Managing Document Windows
Managing Document Changes
Saving and Closing Documents
The TextDocument Object
Point Objects
The TextPoint Object
The VirtualPoint Object
The EditPoint Object
The TextSelection Object
A Comparison of the TextSelection and EditPoint Objects
Undo Contexts
Automatic Undo Contexts
Creating Undo Contexts
Stack Linkage
Text Editor Events
The BeforeKeyPress and AfterKeyPress Events
The LineChanged Event
Looking Ahead
Index
About the Authors
Copyright
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Working with Microsoft® Visual Studio® 2005
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset