Fr. 34.10

Visual C++ .NET in 24 Hours

English · Paperback / Softback

Shipping usually within 3 to 5 weeks

Description

Read more

See how Visual C++ 7.0 will allow you to create .NET applications.

List of contents

(NOTE: Each chapter concludes with a Summary, Q&A, and Workshop.)

Introduction.

Audience and Organization. Conventions Used in This Book. Get Started!
I. GETTING STARTED WITH VISUAL C++ .NET.
Hour 1. Using Visual C++ .NET.

Getting Familiar with the New IDE. Application Types with Visual C++ .NET. Working with Solutions and Projects. Compiling and Debugging.
Hour 2. Special Features of Visual C++ .NET.

Using the New Language Keywords. Creating User-Defined Attributes. Pragmas, Compiler, and Linker Features.
Hour 3. Writing a Simple C++ .NET Program.

Building an MFC Application. Building a Managed .NET Framework Application. Comparing the Differences.
II. UNDERSTANDING .NET.
Hour 4. Understanding the Basics of .NET.

Understanding the .NET Framework Namespaces. Commonly Used .NET Classes. Deploying .NET Applications. What Is the Common Language Runtime?
Hour 5. Understanding Managed Versus Unmanaged Code.

The Relationship Between Managed and Unmanaged Code. Using Managed Code for Easy Memory Management. Migrating Unmanaged Legacy Code.
Hour 6. Integrating with Other .NET Languages.

Integrating .NET Component Assemblies. Building the Project.
III. IMPLEMENTING A USER INTERFACE.
Hour 7. Working with Windows Forms.

Creating a Simple Windows Form. Creating the Windows Form. Building an MDI Interface with Windows Forms.
Hour 8. Working with Resources.

The .NET Managed Resource File. Creating the .NET Resource File. Integrating the Resource File. Reading Resources at Runtime.
Hour 9. Programming with Graphics.

Understanding GDI+. Building a Simple GDI+ Application.
Hour 10. Printing with .NET.

Modifying the Toolbar and Menu. Working with the PrintDocument Object.
IV. SERVER DEVELOPMENT.
Hour 11. Creating Web Services.

Overview of Web Services and .NET. Creating a Simple Web Service. Using a Web Service Within an Application.
Hour 12. Creating Web Services with ATL.

Creating an ATL Web Service Project. Uncovering the ATL Web Service Implementation. Building a Test Application.
Hour 13. Working with .NET Error Handling and Diagnostics.

Understanding the .NET Error Handling Classes. Understanding the Exception Class. Overview of the Trace and Debug Classes. Creating and Using Custom Exceptions.
Hour 14. ATL Servers.

Why ATL Server? Creating an ATL Server Project. ATL Server Sequence of Events. The Server Response File. Creating the NumberGuess Server Response File. Implementing the Replacement Functions.
V. LANGUAGE FEATURES.
Hour 15. Attributes.

A Step in the Right Direction: Attributes Simplify ATL Development. Attributes and the Build Process. Attribute Programming with ATL. Creating an Attributed ATL Object. Where's the IDL File? Creating the MFC Client to Access Your ATL Object. Examining the Injected Attribute Code.
Hour 16. Collections and Arrays.

.NET Framework Collection Class Design. The Collection Classes.
Hour 17. Interfaces.

Interfaces Explained. Implementing .NET Framework Interfaces. Creating Your Own Interface
Hour 18. Events and Delegates.

The Unified Event Model. Working with Delegates. Creating and Handling Managed Events.
VI. ADVANCED PROGRAMMING.
Hour 19. Threading and Synchronization.

Threading and Synchronization Explained. Creating Threads. Creating the ThreadSynch Project. Thread Synchronization. Creating Consumer and Producer Objects. Events and Timers.
Hour 20. Database Access.

Connected vs. Disconnected Clients. Redesigning ADO for the .NET Framework. Creating the Authors ADO.NET Application. Connecting to the Data Source. Displaying and Navigating Through the Data. Inserting and Deleting Table Records.
Hour 21. COM with .NET.

COM Interop Design. Using COM Objects within .NET. Using .NET Objects Within COM Projects.
Hour 22. Mixing Managed and Unmanaged Code.

Unmanaged and Managed Code Together. Unmanaged Code Can Introduce Memory Leaks. Platform Invocation. Using P/Invoke to Call the MessageBox Function. Using P/Invoke for Custom Data Types. Specifying Specific Data Types for Marshaling.
Hour 23. Control Class Libraries.

Controls Within the .NET Framework. Creating the Custom Control Project. Using Custom Controls in a Managed C++ Application. Strong-Named Assemblies and the Global Assembly Cache. Using Custom Controls with C# .NET. Stock Properties. Creating Custom Control Properties.
Hour 24. Serialization.

Binary and XML Serialization. Creating the ObjectSerialization Class and Windows Form. Serializing with Attributes. Customizing the Serialization Process. Serializing and Deserializing Objects.
Appendix A. Quiz Answers.

Hour 1. Hour 2. Hour 3. Hour 4. Hour 5. Hour 6. Hour 7. Hour 8. Hour 9. Hour 10. Hour 11. Hour 12. Hour 13. Hour 14. Hour 15. Hour 16. Hour 17. Hour 18. Hour 19. Hour 20. Hour 21. Hour 22. Hour 23. Hour 24.
Appendix B. Visual Studio .NET IDE Reference.

Source Window. Reducing Window Clutter. Help System.
Index.

About the author

Richard J. Simon has been a pioneer in new technology since 1985 when he started a consulting company to develop PC solutions for businesses. As an early Windows developer, he developed using client/server technologies that are now common place in the industry. Richard has been on the leading edge of Internet technologies and n-tier development using early alpha versions of Microsoft technology and has been actively using .NET technologies since early 2000. Richard if a former CTO of over eight years for a software development company that developed and marketed applications to fortune 1000 companies. He currently is the Co-Founder and CEO of MillenniSoft, Inc. and an established author of several Windows programming books and has tech edited several other books on Windows development and technologies.
Mark Schmidt has been a software engineer at Hewlett-Packard for the past 3 years. Mark began his career writing magazine articles for Fawcette Technical Publications. His articles have appeared in Visual C++ Developer's Journal, Visual Basic Programmer's Journal, and Visual Studio Magazine. In January 2001, Mark spoke at the VSLive! Developer's Conference in San Francisco. In that talk, Mark outlined his solution for advanced customizable user interfaces based on the Active Template Library (ATL). Mark is on a constant path to learn the latest and greatest technologies, and his recent work within the .NET world has kept him busier than ever. Feel free to contact him at mark_schmidt@vcd.hp.com

Summary

See how Visual C++ 7.0 will allow you to create .NET applications.

Product details

Authors Mark Schmidt, Richard Simon, Richard J. Simon
Publisher Sams
 
Languages English
Product format Paperback / Softback
Released 01.01.2002
 
EAN 9780672323232
ISBN 978-0-672-32323-2
No. of pages 432
Dimensions 231 mm x 187 mm x 23 mm
Weight 720 g
Illustrations w. figs.
Series Sams Teach Yourself...
Sams
Sams Teach Yourself...in 24 Ho
Sams
Sams Teach Yourself
Subject Natural sciences, medicine, IT, technology > IT, data processing > Programming languages

Customer reviews

No reviews have been written for this item yet. Write the first review and be helpful to other users when they decide on a purchase.

Write a review

Thumbs up or thumbs down? Write your own review.

For messages to CeDe.ch please use the contact form.

The input fields marked * are obligatory

By submitting this form you agree to our data privacy statement.