In Advanced Visual Basic 6, two of the world's leading VB experts take experienced developers "under the hood" with VB, introducing powerful techniques for writing high-performance, reusable code that leverages the close relationships between VB, COM, and OLE Automation. This book presents advanced VB programming from a COM data type approach, helping developers build more robust, effective code -- and overcome obstacles that appear as they "push the envelope" with VB. Developers learn how VB describes arrays, and how to duplicate that definition manually to perform simple type casting, and gain unprecedented control over how their programs use memory. The authors introduce best practices for interface-based design using normal VB class modules; show how to partition code for optimal reuse; and more. Next, they present advanced techniques for creating COM lightweight objects; and alternate memory management techniques that allow the creation of complex systems with many objects and minimal overhead. The book also covers threading, type libraries, component versioning, and more.
"synopsis" may belong to another edition of this title.
The underlying message is that Visual Basic lets you work more efficiently with Microsoft COM if you implement a few extra routines that look under its hood. A custom library of routines (called VBoost) comes with the book. Each chapter shows how to use this code, beginning with new ways to use pointers and access COM internals to enhance performance with such features as arrays, strings, threads and classes. The most notable techniques use memory more efficiently (including code that creates large numbers of objects faster). More advanced readers will appreciate the in-depth guide to building COM objects programmatically within VB. (The book shows you how to create lightweight COM objects using custom routines). For the real guru, there's even a section on how to use inline assembly language within Visual Basic. Later sections turn to a host of techniques for multithreading, doing more with windows and how to manage and customise COM-type libraries for successful real-world deployment. Armed with these custom routines and an expert's-eye view of VB internals, you'll be able to get more out of Visual Basic with faster, more versatile programs. --Richard Dragan
Key topics include how to:
Control VB array variables explicitly to directly access arbitrary memory locations Call pointers to standard, cdecl, and class module functions Aggregate complete interface implementations into any VB object Override functions on any interface, including those implemented automatically by VB Turn any user-defined type into a lightweight COM object Minimize memory usage in systems with a large number of objects Safely create and manage threads in ActiveX EXEs and DLLs Interact with messages to customize windowed and windowless UserControl objects contains extensive source code samples to enable all techniques without external DLLs. It also provides integrated type library add-ins for creating and editing referenced libraries, modifying binary compatibility files, and customizing the type libraries that VB generated for ActiveX components.
With this compendium of best practices, sophisticated techniques, and valuable utilities, VB programmers will gain a deeper understanding of VB's inner workings and be able to extend its object-oriented capabilities.
"About this title" may belong to another edition of this title.
Shipping:
£ 3.15
Within U.S.A.
Book Description Paperback. Condition: new. New. Fast Shipping and good customer service. Seller Inventory # Holz_New_0201707128
Book Description Paperback. Condition: new. Brand New Copy. Seller Inventory # BBB_new0201707128
Book Description Condition: New. Seller Inventory # 61671-n
Book Description Paperback. Condition: new. New. Seller Inventory # Wizard0201707128
Book Description Paperback. Condition: new. New Copy. Customer Service Guaranteed. Seller Inventory # think0201707128
Book Description PAP. Condition: New. New Book. Shipped from UK. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Seller Inventory # L1-9780201707120
Book Description Condition: New. PRINT ON DEMAND Book; New; Fast Shipping from the UK. No. book. Seller Inventory # ria9780201707120_lsuk
Book Description Condition: New. In. Seller Inventory # ria9780201707120_new
Book Description Condition: New. Seller Inventory # 61671-n
Book Description PAP. Condition: New. New Book. Delivered from our UK warehouse in 4 to 14 business days. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Seller Inventory # L1-9780201707120