01_788139 ffirs.qxp 3/29/06 3:00 PM Page ii 01_788139 ffirs.qxp 3/29/06 3:00 PM Page i Professional VSTO 2005 Visual Studio® 2005 Tools for Office 01_788139 ffirs.qxp 3/29/06 3:00 PM Page ii 01_788139 ffirs.qxp 3/29/06 3:00 PM Page iii Professional VSTO 2005 Visual Studio® 2005 Tools for Office Alvin Bruney 01_788139 ffirs.qxp 3/29/06 3:00 PM Page iv Professional VSTO 2005: Visual Studio®2005 Tools for Office Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2006 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN-13: 978-0-471-78813-3 ISBN-10: 0-471-78813-9 Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 1O/RX/QU/QW/IN Library of Congress Cataloging-in-Publication Data: Bruney, Alvin, 1971- Professional Visual studio 2005 tools for Office / Alvin Bruney. p. cm. Includes index. ISBN-13: 978-0-471-78813-3 (paper/website) ISBN-10: 0-471-78813-9 (paper/website) 1. Microsoft Visual studio. 2. Web site development--Computer programs. 3. Microsoft Office. I. Title. TK5105.8885.M57B786 2006 005.5--dc22 2006005385 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, or online at http://www.wiley.com/go/permissions. LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REP- RESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACYOR COMPLETENESS OF THE CON- TENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR APARTICULAR PURPOSE. NO WARRANTYMAYBE CREATED OR EXTENDED BYSALES OR PROMOTIONALMATERIALS. THE ADVICE AND STRATEGIES CONTAINED HEREIN MAYNOT BE SUITABLE FOR EVERYSITUATION. THIS WORK IS SOLD WITH THE UNDERSTAND- ING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER PRO- FESSIONALSERVICES. IF PROFESSIONALASSISTANCE IS REQUIRED, THE SERVICES OF ACOMPETENT PROFESSIONALPERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR SHALLBE LIABLE FOR DAMAGES ARISING HEREFROM. THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN THIS WORK AS ACITATION AND/OR APOTENTIALSOURCE OF FURTHER INFORMA- TION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAYPROVIDE OR RECOMMENDATIONS IT MAYMAKE. FURTHER, READ- ERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK MAYHAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ. For general information on our other products and services please contact our Customer Care Department within the United States at (800) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002. Trademarks:Wiley, the Wiley logo, Wrox, the Wrox logo, Programmer to Programmer, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. Visual Studio is a registered trademark of Microsoft Cor- poration in the United States and/or other countries. All other trademarks are the property of their respective own- ers. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book. Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books. 01_788139 ffirs.qxp 3/29/06 3:00 PM Page v About the Author Alvin Bruneyis asenior software engineer for Indigo Books and Music. His previous development jobs included spearheading the .NET architecture for NetworkIP, a telecommunications provider, and as a programmer with Intuit. He self-published a book on Office Web Components, and frequently writes articles for ASP.NET Professionalmagazine, MSDN, and other online venues. He is also a Microsoft .NET MVPand is well known in the 10 newsgroups he monitors. 01_788139 ffirs.qxp 3/29/06 3:00 PM Page vi 01_788139 ffirs.qxp 3/29/06 3:00 PM Page vii Credits Senior Acquisitions Editor Vice President and Executive Group Publisher Jim Minatel Richard Swadley Development Editor Vice President and Executive Publisher Brian MacDonald Joseph B. Wikert Technical Editors Quality Control Technicians Jay B. Harlow John Greenough Phred Menyhert Charles Spencer Brian H. Walls Production Editor Pamela Hanley Graphics andProduction Specialists Denny Hager Copy Editor Barbara Moore Foxxe Editorial Services Alicia B.South Editorial Manager Proofreading and Indexing Mary Beth Wakefield Techbooks Production Manager Tim Tate 01_788139 ffirs.qxp 3/29/06 3:00 PM Page viii Kathy, thanks for being there for me all the time. Boobie tube, you aren’t old enough to read this yet, but I love you.
Description: