|
|
|
|
|
|
|
|
|
|
|
|
|
|
VB 6.0 Developer's Workshop
 Chapter : 0 (9) |  |  | Microsoft Visual Basic 6.0 Developer's Workshop |
 |
 |  | Dedications |
 |
 |  | Introduction |
 |
 |  | Programming Style |
 |
 |  | What's Been Left Out |
 |
 |  | How-To |
 |
 |  | Sample Programs |
 |
 |  | Windows 32-Bit Programming |
 |
 |  | Using the Companion CD-ROM |
 |
 Chapter : 1 (11) |  |  | Chapter One -- What's New in Visual Basic 6? |
 |
 |  | Edition Enhancements |
 |
 |  | Integrated Development Environment |
 |
 |  | Native Code Compiler |
 |
 |  | ActiveX |
 |
 |  | Even More New Internet Features |
 |
 |  | New and Enhanced Controls |
 |
 |  | Object-Oriented Features |
 |
 |  | Language Enhancements |
 |
 |  | Data Access |
 |
 |  | Internet |
 |
 Chapter : 2 (6) |  |  | Chapter Two -- Programming Style Guidelines |
 |
 |  | Descriptive Naming |
 |
 |  | Checking Data Types |
 |
 |  | Scoping Things Out |
 |
 |  | Commenting While You Code |
 |
 |  | For More Information |
 |
 Chapter : 3 (11) |  |  | Chapter Three -- Variables |
 |
 |  | ...Simulate Unsigned Integers? |
 |
 |  | ...Work with True/False Data? |
 |
 |  | ...Use Byte Arrays? |
 |
 |  | ...Work with Dates and Times? |
 |
 |  | ...Work with Variants? |
 |
 |  | ...Work with Strings? |
 |
 |  | ...Work with Objects? |
 |
 |  | ...Work with Predefined Constants? |
 |
 |  | ...Create User-Defined Type (UDT) Structures? |
 |
 |  | ...Create New Data Types with Classes? |
 |
 Chapter : 4 (6) |  |  | Chapter Four -- Parameters |
 |
 |  | ...Use Named Arguments? |
 |
 |  | ...Use Optional Parameters? |
 |
 |  | ...Pass Parameter Arrays? |
 |
 |  | ...Pass Any Type of Data in a Parameter? |
 |
 |  | ...Use Enums in Parameters? |
 |
 Chapter : 5 (11) |  |  | Chapter Five -- Object-Oriented Programming |
 |
 |  | ...Choose Between an ActiveX EXE and an ActiveX DLL? |
 |
 |  | ...Create All My Objects in External ActiveX Components? |
 |
 |  | ...Create a New Object? |
 |
 |  | ...Use My New Object? |
 |
 |  | ...Set a Default Property for My Object? |
 |
 |  | ...Create and Use an ActiveX EXE? |
 |
 |  | ...Create an Object That Displays Forms? |
 |
 |  | ...Work with Collections of Objects? |
 |
 |  | ...Understand and Use Polymorphism? |
 |
 |  | ...Use Friend Methods? |
 |
 Chapter : 6 (10) |  |  | Chapter Six -- ActiveX Controls |
 |
 |  | ...Create an ActiveX Control? |
 |
 |  | ...Debug a Control? |
 |
 |  | ...Compile and Register a Control? |
 |
 |  | ...Create a Design-Time Property? |
 |
 |  | ...Display a Property Pages Dialog Box? |
 |
 |  | ...Load a Property Asynchronously? |
 |
 |  | ...Create a Control for Use with a Database? |
 |
 |  | ...Use the DataRepeater Control? |
 |
 |  | ...Create a Container Control? |
 |
 Chapter : 7 (7) |  |  | Chapter Seven -- Using Internet Components |
 |
 |  | ...Select the ActiveX Component to Use? |
 |
 |  | ...Understand Internet Protocol Layers? |
 |
 |  | ...Set Up Networking? |
 |
 |  | ...Communicate Using Winsock? |
 |
 |  | ...Create an FTP Browser? |
 |
 |  | ...Control Internet Explorer? |
 |
 Chapter : 8 (6) |  |  | Chapter Eight -- Creating Internet Components |
 |
 |  | ...Create ActiveX Controls for Internet Use? |
 |
 |  | ...Use ActiveX Controls with VBScript? |
 |
 |  | ...Create DHTML Documents? |
 |
 |  | ...Create ActiveX Documents? |
 |
 |  | ...Create Webclasses? |
 |
 Chapter : 9 (8) |  |  | Chapter Nine -- Creating Internet Applications |
 |
 |  | ...Choose an Application Type? |
 |
 |  | ...Create a DHTML Application? |
 |
 |  | ...Create IIS Applications? |
 |
 |  | ...Create ActiveX Document Applications? |
 |
 |  | ...Install ActiveX Documents over the Internet? |
 |
 |  | ...Install DHTML Applications over the Internet? |
 |
 |  | ...Deploy IIS Applications over the Internet? |
 |
 Chapter : 10 (7) |  |  | Chapter Ten -- API Functions |
 |
 |  | ...Call API Functions? |
 |
 |  | ...Pass the Address of a Procedure to an API Function? |
 |
 |  | ...Understand ByVal, ByRef, and As Any in an API Function Declaration? |
 |
 |  | ...Easily Add API Declarations? |
 |
 |  | ...Use API Calls to Get System Information? |
 |
 |  | ...Add API Calls to an ActiveX Control? |
 |
 Chapter : 11 (4) |  |  | Chapter Eleven -- Multimedia |
 |
 |  | ...Play a Sound (WAV) File? |
 |
 |  | ...Play a Video (AVI) File? |
 |
 |  | ...Play an Audio CD? |
 |
 Chapter : 12 (8) |  |  | Chapter Twelve -- Dialog Boxes, Windows, and Other Forms |
 |
 |  | ...Add a Standard About Dialog Box? |
 |
 |  | ...Automatically Position a Form on the Screen? |
 |
 |  | ...Create a Floating Window? |
 |
 |  | ...Create a Splash (Logo) Screen? |
 |
 |  | ...Use a Tabbed Control? |
 |
 |  | ...Flash a Form to Get the User's Attention? |
 |
 |  | ...Move a Control to a New Container? |
 |
 Chapter : 13 (12) |  |  | Chapter Thirteen -- The Visual Interface |
 |
 |  | ...Use the Lightweight Controls? |
 |
 |  | ...Add a Horizontal Scrollbar to a List Box? |
 |
 |  | ...Create a Toolbar? |
 |
 |  | ...Dynamically Change the Appearance of a Form? |
 |
 |  | ...Dynamically Customize the Menus? |
 |
 |  | ...Remove the Title Bar from a Form? |
 |
 |  | ...Create a Progress Indicator? |
 |
 |  | ...Use the Slider Control? |
 |
 |  | ...Use the UpDown Control? |
 |
 |  | ...Use the FlatScrollBar Controls? |
 |
 |  | ...Use the CoolBar Control? |
 |
 Chapter : 14 (18) |  |  | Chapter Fourteen -- Graphics Techniques |
 |
 |  | ...Calculate a Color Constant from RGB, HSV, or HSL Values? |
 |
 |  | ...Convert Between Twips, Points, Pixels, Characters, Inches, Millimeters, and Centimeters? |
 |
 |  | ...Create One of Those Backgrounds That Fade from Blue to Black? |
 |
 |  | ...Create a Rubber Band Selection Rectangle? |
 |
 |  | ...Create Graphics Hot Spots? |
 |
 |  | ...Draw a Polygon Quickly? |
 |
 |  | ...Draw an Ellipse? |
 |
 |  | ...Fill an Irregularly Shaped Area with a Color? |
 |
 |  | ...Rotate a Bitmap? |
 |
 |  | ...Scroll a Graphics Image? |
 |
 |  | ...Use BitBlt to Create Animation? |
 |
 |  | ...Use Picture Objects for Animation? |
 |
 |  | ...Use the Animation Control? |
 |
 |  | ...Position Text at an Exact Location in a Picture Box? |
 |
 |  | ...Scale a Font Infinitely? |
 |
 |  | ...Rotate Text to Any Angle? |
 |
 |  | ...Use Multiple Fonts in a Picture Box? |
 |
 Chapter : 15 (6) |  |  | Chapter Fifteen -- File I/O |
 |
 |  | ...Rename, Copy, or Delete a File Efficiently? |
 |
 |  | ...Work with Directories and Paths? |
 |
 |  | ...Perform Fast File I/O? |
 |
 |  | ...Work with Binary Files? |
 |
 |  | ...Use the Visual Basic File System Objects? |
 |
 Chapter : 16 (4) |  |  | Chapter Sixteen -- The Registry |
 |
 |  | ...Read and Write to the Registry? |
 |
 |  | ...Remember the State of an Application? |
 |
 |  | ...Associate a File Type with an Application? |
 |
 Chapter : 17 (10) |  |  | Chapter Seventeen -- User Assistance |
 |
 |  | ...Add ToolTips? |
 |
 |  | ...Add a Status Display to My Application? |
 |
 |  | ...Display a Tip of the Day at Startup? |
 |
 |  | ...Walk Users Through Tasks Using Wizards? |
 |
 |  | ...Create a WinHelp File? |
 |
 |  | ...Use the WinHelp API Function to Add Help Files to My Projects? |
 |
 |  | ...Add Context-Sensitive F1 Help to My Projects? |
 |
 |  | ...Use the CommonDialog Control to Add Help Files to My Projects? |
 |
 |  | ...Create HTML Help? |
 |
 Chapter : 18 (5) |  |  | Chapter Eighteen -- Security |
 |
 |  | ...Add a Hidden Credits Screen? |
 |
 |  | ...Create a Password Dialog Box? |
 |
 |  | ...Encrypt a Password or Other Text? |
 |
 |  | ...Work with Internet Security Features? |
 |
 Chapter : 19 (5) |  |  | Chapter Nineteen -- The Mouse |
 |
 |  | ...Change the Mouse Pointer? |
 |
 |  | ...Create a Custom Mouse Pointer? |
 |
 |  | ...Display an Animated Mouse Pointer? |
 |
 |  | ...Determine Where the Mouse Pointer Is? |
 |
 Chapter : 20 (4) |  |  | Chapter Twenty -- The Keyboard |
 |
 |  | ...Change the Behavior of the Enter Key? |
 |
 |  | ...Determine the State of the Shift Keys? |
 |
 |  | ...Create Hot Keys? |
 |
 Chapter : 21 (6) |  |  | Chapter Twenty-One -- Text Box and Rich Text Box Tricks |
 |
 |  | ...Display a File? |
 |
 |  | ...Create a Simple Text Editor? |
 |
 |  | ...Detect Changed Text? |
 |
 |  | ...Fit More than 64 KB of Text into a Text Box? |
 |
 |  | ...Allow the User to Select a Font for a Text Box or a Rich Text Box? |
 |
 Chapter : 22 (3) |  |  | Chapter Twenty-Two -- Multiple Document Interface |
 |
 |  | ...Create an MDI Application? |
 |
 |  | ...Add a Logo (Splash Screen) to an MDI Form? |
 |
 Chapter : 23 (5) |  |  | Chapter Twenty-Three -- Database Access |
 |
 |  | ...Use Wizards in My Database Development Cycle? |
 |
 |  | ...Use the Data Control to Connect An Application to a Database? |
 |
 |  | ...Use Data Access Objects to Connect An Application to a Database? |
 |
 |  | ...Create a Report? |
 |
 Chapter : 24 (4) |  |  | Chapter Twenty-Four -- ActiveX Objects in Other Applications |
 |
 |  | ...Use ActiveX to Perform Spell Checking? |
 |
 |  | ...Use ActiveX to Count Words? |
 |
 |  | ...Use Microsoft Excel's Advanced Math Functions? |
 |
 Chapter : 25 (8) |  |  | Chapter Twenty-Five -- Screen Savers |
 |
 |  | ...Create a Screen Saver? |
 |
 |  | ...Prevent Two Instances of a Screen Saver from Running at the Same Time? |
 |
 |  | ...Hide the Mouse Pointer in a Screen Saver? |
 |
 |  | ...Detect Mouse Movement or a Mouse Click to Terminate a Screen Saver? |
 |
 |  | ...Detect a Keypress to Terminate a Screen Saver? |
 |
 |  | ...Use an Image of the Screen as a Screen Saver? |
 |
 |  | ...Add Password and Setup Capabilities to a Screen Saver? |
 |
 Chapter : 26 (4) |  |  | Chapter Twenty-Six -- Project Development |
 |
 |  | ...Grab a Running Form and Save It as a Bitmap? |
 |
 |  | ...Use Resource Files? |
 |
 |  | ...Use a String Database for Internationalization? |
 |
 Chapter : 27 (8) |  |  | ...Add WhatsThisHelp to a Form? |
 |
 |  | Chapter Twenty-Seven -- Advanced Programming Techniques |
 |
 |  | ...Use Visual Basic to Create an ActiveX DLL? |
 |
 |  | ...Use C to Create a DLL? |
 |
 |  | ...Create an Application That Runs Remotely? |
 |
 |  | ...Create an Add-In for the Visual Basic Development Environment? |
 |
 |  | ...Make My Application Scriptable? |
 |
 |  | ...Pass a User-Defined Type to My Object? |
 |
 Chapter : 28 (6) |  |  | Chapter Twenty-Eight -- Miscellaneous Techniques |
 |
 |  | ...Create a Linked List? |
 |
 |  | ...Respond to O/S Version Differences? |
 |
 |  | ...Exit and Restart Windows? |
 |
 |  | ...Dial a Phone from My Application? |
 |
 |  | ...Use Inline Error Trapping? |
 |
 Chapter : 29 (5) |  |  | Chapter Twenty-Nine -- Graphics |
 |
 |  | The HSVHSL Application |
 |
 |  | The Animate Application |
 |
 |  | The Lottery Application |
 |
 |  | The MySaver Application |
 |
 Chapter : 30 (4) |  |  | Chapter Thirty -- Development Tools |
 |
 |  | The ColorBar Application |
 |
 |  | The APIAddin Application |
 |
 |  | The Metric Application |
 |
 Chapter : 31 (4) |  |  | Chapter Thirty-One -- Date and Time |
 |
 |  | The VBCal Application |
 |
 |  | The VBClock Application |
 |
 |  | The NISTTime Application |
 |
 Chapter : 32 (4) |  |  | Chapter Thirty-Two -- Databases |
 |
 |  | The AreaCode Application |
 |
 |  | The DataDump Application |
 |
 |  | The Jot Application |
 |
 Chapter : 33 (4) |  |  | Chapter Thirty-Three -- Utilities |
 |
 |  | The MousePtr Application |
 |
 |  | The ShowTell Application |
 |
 |  | The WindChil Application |
 |
 Chapter : 34 (5) |  |  | Chapter Thirty-Four -- Advanced Applications |
 |
 |  | The Messages Application |
 |
 |  | The Secret Application |
 |
 |  | The BitPack Application |
 |
 |  | The Dialogs Application |
 |
 Chapter : 99 (5) |  |  | About This Electronic Book |
 |
 |  | Acknowledgments |
 |
 |  | basicIE4.css |
 |
 |  | About the Authors |
 |
 |  | About Microsoft Press |
 |
|
|
|
|
|
|
 |
 |
 |
 |
|