
QuickTime for .NET and COM Developers
- 1st Edition - January 17, 2006
- Imprint: Morgan Kaufmann
- Author: John Cromie
- Language: English
- Paperback ISBN:9 7 8 - 0 - 1 2 - 7 7 4 5 7 5 - 6
- eBook ISBN:9 7 8 - 0 - 0 8 - 0 4 5 4 7 2 - 6
At the heart of Apple's hugely popular iLife software suite—iMovie, iPhoto, iDVD, GarageBand, and iTunes—is QuickTime, the powerful media engine that drives elegant applications… Read more

Purchase options

Institutional subscription on ScienceDirect
Request a sales quoteAt the heart of Apple's hugely popular iLife software suite—iMovie, iPhoto, iDVD, GarageBand, and iTunes—is QuickTime, the powerful media engine that drives elegant applications for managing movies, images, and audio files. The enduring success of QuickTime is in no small part attributable to its component architecture. This key feature has allowed it to embrace emerging digital media technologies and standards one by one as they have appeared over the 12 or so years since its launch. None of the competing technologies even comes close, let alone on both Mac OS X and Windows.
QuickTime for .NET and COM Developers is the first guide to QuickTime for developers using popular RAD tools such a Visual Basic .NET, C#, and Visual Basic 6. A general introduction to QuickTime is followed by a detailed explanation of the QuickTime architecture from a.NET and COM perspective, liberally accompanied by code snippets. A number of implementation examples illustrate key QuickTime features, ranging from a simple movie player to a sophisticated interactive application. Also covered is QuickTime scripting in both QuickTime Player (using Windows Scripting) and in Microsoft Office applications (using VBA). Brief guides to developing with QuickTime in Delphi and ATL/WTL are also included.
Part of the official Quicktime Developer Series, publishing the finest books on QuickTime in cooperation with Apple.
QuickTime for .NET and COM Developers is the first guide to QuickTime for developers using popular RAD tools such a Visual Basic .NET, C#, and Visual Basic 6. A general introduction to QuickTime is followed by a detailed explanation of the QuickTime architecture from a.NET and COM perspective, liberally accompanied by code snippets. A number of implementation examples illustrate key QuickTime features, ranging from a simple movie player to a sophisticated interactive application. Also covered is QuickTime scripting in both QuickTime Player (using Windows Scripting) and in Microsoft Office applications (using VBA). Brief guides to developing with QuickTime in Delphi and ATL/WTL are also included.
Part of the official Quicktime Developer Series, publishing the finest books on QuickTime in cooperation with Apple.
* The first book on QuickTime for .NET and COM application and scripting developers* Written by one of the architects of Apple's QuickTime ActiveX/COM control* Offers numerous sample applications and code examples
QuickTime developers building Windows applications, Windows developers using VB6, VB.NET, C#.NET, using QuickTime, Website designers, interactive media students, novice programmers building home media apps, Windows users using Visual Basic for Applications
- About the Author
- Preface
- Acknowledgments
- Chapter 1. Introduction
- Why QuickTime?
- Why .NET and COM?
- COM
- .NET
- COM Interop
- QuickTime Meets COM and .NET
- Who Is This Book For?
- What Should I Know Before Reading This Book?
- Code Samples
- Additional Resources
- .NET, Visual Basic, and C#
- Windows Scripting
- QuickTime
- Chapter 2. Getting Started with the QuickTime Control
- Introduction
- Hello World!
- Simple Player—the Basics
- Initialization
- Opening and Closing Movies
- Controlling the Movie
- Getting Information about the Movie
- Scaling the Movie
- Full-Screen Movies
- Automatically Sizing the Form
- About...
- Summary
- Chapter 3. Using the QuickTime Control
- Introduction
- The Apple QuickTime Control
- A COM control in .NET
- Get the Big Picture
- Movies
- Loading a Movie
- Movie Scaling and Sizing
- A Resizable Window for Simple Player
- Background and Border
- Movie Controller
- Auto Play
- Control over Full-Screen Display
- Initializing QuickTime
- Is QuickTime Available?
- Probing Deeper
- Summary
- Chapter 4. The QuickTime Object Model
- Introduction
- Object Models
- The QuickTime Object Model
- QTMovie and Its Offspring
- QTQuickTime and Its Offspring
- Summary
- Chapter 5. Diving Deeper
- Essential Topics for Serious QuickTime Development
- Introduction
- QuickTime Events
- Registering for QuickTime Events
- Handling QuickTime Events
- Sample: QuickTime Events Demo
- QuickTime Metadata
- Annotations
- CFObject and Its Uses
- CFObject Collection
- CFObject Dictionary (CFDictionary)
- The Annotations CFDictionary
- Complex CFObject Data Structures
- Persistent CFObjects
- Error Handling
- Summary
- Chapter 6. Create and Edit
- Introduction
- The Joy of Cut, Copy, and Paste
- Implementing the Edit Menu
- Saving the Movie
- Creating a New Movie
- Movie Builder
- Assembling a Movie
- Adding an Overlay
- Subtitling the Movie
- Summary of the Edit Capabilities of QTMovie
- Creating a Movie from Images
- SMIL the Movie
- Creating a Movie Using GDI
- Saving a New Movie
- Summary
- Chapter 7. Browsing the Media
- For the Birds
- Design Decisions
- Implementation
- Picking the Components
- Building the Bare Bones
- Directory Browsing
- Media Display
- Wiring up the Connections
- Adding the QuickTime Control
- Media Inspector
- A Tooltip
- Summary
- Chapter 8. Scripting QuickTime Player
- Introduction
- Scripting QuickTime on the Mac
- Windows Scripting Host
- COM (Automation) Server
- QuickTime Player: a COM Server
- Opening and Playing a Movie
- The QuickTime Player Object Model
- Working with Players
- A Movie Builder Script
- Batch Export from the Command Line
- Event Handlers
- Script Droplets
- Windows Scripting File (.wsf) format
- Summary
- Chapter 9. QuickTime Meets Office
- QuickTime Development in Microsoft Excel and Access
- Introduction
- Excel
- Adding the QuickTime Control
- ActiveX and Macro Security
- Adding a Play/Stop Cell
- Movie Inspector
- Movie Inspector with Annotation Editing
- Batch Processing: Movie Annotator
- Access
- Movie Display
- QuickTime Event Handling
- Summary
- Appendix A QuickTime COM Library Reference
- QuickTime Control (QTOControlLib
- QuickTime Object Library (QTOLibrary
- Appendix B Additional COM Host Environments
- QuickTime Control Basics in Other COM Hosts
- Visual Basic 6
- Getting Started
- Adding a Load Button
- Adding a Play/Stop Button
- Resizing the Form to Fit the Control
- Responding to Manual Resize of the Form
- Porting Code Samples to Visual Basic 6 or Visual Basic for Applications (VBA)
- Delphi
- Getting Started
- Loading a Movie
- Playing the Movie
- Handling QuickTime Events
- ATL/WTL
- Getting Started
- Adding the QuickTime Control
- Adding a Play/Stop Button
- Handling Events from the QuickTime Control
- QuickTime Events
- Appendix C QuickTime Exporter Types
- Exporter Types
- Index
- Edition: 1
- Published: January 17, 2006
- No. of pages (eBook): 360
- Imprint: Morgan Kaufmann
- Language: English
- Paperback ISBN: 9780127745756
- eBook ISBN: 9780080454726
JC
John Cromie
John Cromie is one of the architects of Apple’s QuickTime ActiveX/COM control for Windows and is the principal at the software development and consulting company, Skylark Associates. Skylark specializes in software design, website architecture, and interface design, and has clients in both Europe and the United States. With a strong portfolio of successful projects, many of which feature QuickTime, Skylark has established a reputation for innovative software development of interactive and web applications on both Windows and Mac platforms.Having worked with QuickTime for over 12 years, John is a long-time QuickTime developer, first using HyperCard on the Mac, and then moving on to Windows with the advent of QuickTime for Windows. An experienced developer, John has successfully delivered numerous CD/DVD-ROM titles, websites and interactive applications using RAD tools, C++ and the QuickTime API. Skylark is also responsible for the cross-platform software behind the award-winning BirdGuides range of CD/DVD-ROM titles for birdwatchers—again largely QuickTime based. John has overseen the development of birdguides.com into the leading bird information website in Europe. Consulting clients include Cambridge University, Esat/BT, The International Post Corporation and Apple Computer.Whenever the fickle weather in the northwest of Ireland permits, John gets out and about birding or walking in the mountains, and he is actively involved in nature conservation.
Affiliations and expertise
Skylark Associates, Ballybofey, Ireland and one of the principal architects of Apple's QuickTime ActiveX/COM control for Windows.Read QuickTime for .NET and COM Developers on ScienceDirect