This document is the table of contents for the book "Visual Basic 6 Black Book" by Steven Holzner. It lists 17 chapters that will cover topics like the Visual Basic development environment, the Visual Basic language, managing forms in Visual Basic, and Visual Basic menus. Each chapter contains an in-depth section and immediate solutions sections that provide practical examples and solutions.
The project aims to provide CAD file viewing and analysis capabilities to collaborators of CERN, an international scientific organization. This will allow remote or unfamiliar users to view 3D CAD files and assemblies, perform measurements, make sections, and easily access design data. The software being considered must open both CATIA native files and other CAD formats, allow interference detection and calculations, and enable collaboration. Three options - Oracle AutoVue, Adobe Reader, and Dassault 3DVIA Composer Player - were reviewed, with 3DVIA selected for its ability to open CATIA files directly and its support as both the CAD software and viewer supplier.
Verdens bedste BPM-platform leveret som cloud, Christian A. Givskov, IBMIBM Danmark
This document discusses IBM's Blueworks Live business process management software and IBM SmartCloud Enterprise cloud computing platform. It provides an overview of Blueworks Live's key capabilities including social collaboration, mobile access, and content management. The document also summarizes new features in IBM Business Process Manager version 8 like enhanced social collaboration, mobile access, and improved governance. Finally, it promotes the benefits of IBM's solutions for improving business operations and processes.
The document discusses architecture-centric software development processes. It describes traditional waterfall and iterative development models, and notes that iterative models allow for more flexibility to changing requirements. Agile development methods like eXtreme Programming (XP) are discussed, which emphasize iterative development, collaboration, and rapid delivery of working software. Key practices of XP are outlined, including user stories, testing, pair programming, refactoring, and continuous integration. The role of architecture in agile processes is also addressed.
This document provides an overview of creating and customizing workboards in the Necto Training module. It discusses how to create a new workboard, add different types of components like views, text boxes, images and charts, and modify existing workboards. It also explains how to use placeholders in components to dynamically display data from other components and data sources based on selections in navigation components. The document outlines the process for creating workboards, selecting layouts and permissions, and placing and defining various component properties.
This document provides an overview of Necto administration tasks including defining users and roles, managing applications and workboards, and configuring the Necto server. It describes how to import and create users and roles, set permissions for roles, duplicate and edit workboards, view license and server information, define applications, and use the chart designer tool. The agenda includes sections on users and roles, permissions, workboard management, server administration, applications, and the chart designer.
This document provides an overview of the methodology and content covered in the Microsoft Office Excel 2007 certification. It is divided into 5 groups that cover topics such as formatting tables, using formulas and functions, filtering and sorting data, protecting workbooks, and more. Each topic includes exercises to practice the skills required to pass the certification.
AutoCAD 2010 software provides powerful tools for 2D and 3D design, documentation, and communication. It offers parametric drawing, dynamic blocks, annotation scaling, and sheet set organization to speed up the design process. Users can explore ideas in 3D, create presentation-ready graphics, and photorealistic renderings. AutoCAD is highly customizable and offers programming interfaces to develop custom applications. It has been the leading design software for over 26 years.
The document provides an overview of the eGovFrame training book, which introduces eGovFrame as an open source software framework for developing and operating e-government systems in Korea. It describes the components and architecture of eGovFrame, including the development, runtime, operation and management environments. The document also discusses eGovFrame's adoption of open source policies and use of open source software like Spring and iBatis within its runtime environment.
The project aims to provide CAD file viewing and analysis capabilities to collaborators of CERN, an international scientific organization. This will allow remote or unfamiliar users to view 3D CAD files and assemblies, perform measurements, make sections, and easily access design data. The software being considered must open both CATIA native files and other CAD formats, allow interference detection and calculations, and enable collaboration. Three options - Oracle AutoVue, Adobe Reader, and Dassault 3DVIA Composer Player - were reviewed, with 3DVIA selected for its ability to open CATIA files directly and its support as both the CAD software and viewer supplier.
Verdens bedste BPM-platform leveret som cloud, Christian A. Givskov, IBMIBM Danmark
This document discusses IBM's Blueworks Live business process management software and IBM SmartCloud Enterprise cloud computing platform. It provides an overview of Blueworks Live's key capabilities including social collaboration, mobile access, and content management. The document also summarizes new features in IBM Business Process Manager version 8 like enhanced social collaboration, mobile access, and improved governance. Finally, it promotes the benefits of IBM's solutions for improving business operations and processes.
The document discusses architecture-centric software development processes. It describes traditional waterfall and iterative development models, and notes that iterative models allow for more flexibility to changing requirements. Agile development methods like eXtreme Programming (XP) are discussed, which emphasize iterative development, collaboration, and rapid delivery of working software. Key practices of XP are outlined, including user stories, testing, pair programming, refactoring, and continuous integration. The role of architecture in agile processes is also addressed.
This document provides an overview of creating and customizing workboards in the Necto Training module. It discusses how to create a new workboard, add different types of components like views, text boxes, images and charts, and modify existing workboards. It also explains how to use placeholders in components to dynamically display data from other components and data sources based on selections in navigation components. The document outlines the process for creating workboards, selecting layouts and permissions, and placing and defining various component properties.
This document provides an overview of Necto administration tasks including defining users and roles, managing applications and workboards, and configuring the Necto server. It describes how to import and create users and roles, set permissions for roles, duplicate and edit workboards, view license and server information, define applications, and use the chart designer tool. The agenda includes sections on users and roles, permissions, workboard management, server administration, applications, and the chart designer.
This document provides an overview of the methodology and content covered in the Microsoft Office Excel 2007 certification. It is divided into 5 groups that cover topics such as formatting tables, using formulas and functions, filtering and sorting data, protecting workbooks, and more. Each topic includes exercises to practice the skills required to pass the certification.
AutoCAD 2010 software provides powerful tools for 2D and 3D design, documentation, and communication. It offers parametric drawing, dynamic blocks, annotation scaling, and sheet set organization to speed up the design process. Users can explore ideas in 3D, create presentation-ready graphics, and photorealistic renderings. AutoCAD is highly customizable and offers programming interfaces to develop custom applications. It has been the leading design software for over 26 years.
The document provides an overview of the eGovFrame training book, which introduces eGovFrame as an open source software framework for developing and operating e-government systems in Korea. It describes the components and architecture of eGovFrame, including the development, runtime, operation and management environments. The document also discusses eGovFrame's adoption of open source policies and use of open source software like Spring and iBatis within its runtime environment.
The document discusses UML diagrams that can be used to model J2EE applications, including use case diagrams, class diagrams, package diagrams, sequence diagrams, collaboration diagrams, state diagrams, activity diagrams, component diagrams, and deployment diagrams. It provides examples of each diagram type using a case study of an online bookstore system. The use case diagram shows use cases and actors, the class diagram shows classes and relationships, and other diagrams demonstrate how specific interactions, workflows, and system configurations can be modeled through different UML diagrams.
This document provides an overview of the CorelDRAW workspace and tools. It defines key terminology like objects and vectors. It describes the main components of the application window such as the toolbox, property bar, rulers, and status bar. It also explains tools for drawing, editing and formatting objects and text. Dockers and flyouts are covered as ways to access additional commands related to active tools.
The document discusses user authorization in SAP systems, explaining that user master records must be set up and assigned roles before users can access the system. A user's menu and authorizations are linked to their user master record via roles, and the user master record stores all user data required for system access across eight categories. Central user administration allows creation and maintenance of all user master data to be performed in a single SAP system.
MVC, DCI, and lookups like the NetBeans APIs allow for modular and adaptable applications. MVC separates concerns but ties view and controller to the model. DCI focuses on object interactions and morphing objects to provide different contexts. The NetBeans lookup system allows objects to dynamically adapt interfaces and be discovered through queries, supporting modularity. Future application architectures may increasingly use annotations to define actions and controls in a more modular way.
This document contains a series of presentation slides about an unspecified topic. The slides include titles, bullet points, descriptions, categories and sections. They demonstrate formatting for text, images, tables and charts. The slides provide information through headings, benefits statements, quotes and diagrams. The overall document serves as an example of formatting and styles that can be used for a presentation.
After Effects includes effects like Turbulent Displace and Magnify for distortions, and delivers comprehensive audio effects. Expressions can be used to link complex animations between layers. Graphics experience can be leveraged into motion graphics by animating layered Photoshop and Illustrator files in After Effects. After Effects integrates well with other Adobe applications like Photoshop, Illustrator, Premiere Pro, and Encore DVD. Videos can be exported in various formats for different mediums like web, DVD, and tape.
The document is a version 2.5 use case specification for a conference management system. It includes a revision history, table of contents, introduction describing the purpose and intended audience, definitions of terms, a description of actors and a use case diagram. It also provides details for an assign paper use case, describing the typical sequence of events and rules.
The document describes 3 easy steps to drive your DBA crazy:
1. Start with a small project that grows increasingly complex without oversight, making someone responsible for the growing complexity.
2. Engage in confusing and nonsensical conversations about the project that frustrate the DBA's attempts to understand it.
3. Repeatedly violate the DBA's authority over and ownership of the database through dangerous or prohibited actions, disrespecting the DBA's expertise.
Procedures functions structures in VB.Nettjunicornfx
This document discusses procedures, functions, and structures in Visual Basic .NET. It defines procedures as blocks of code that can be invoked from other parts of a program and optionally accept arguments. Functions are similar but return a value. Structures allow user-defined data types. The document provides examples and explains how to declare, define parameters for, and call procedures and functions. It also covers argument passing mechanisms, built-in math and string functions, and variable scope.
Functions are named blocks of code that perform a specific task and return a result. They can take arguments and have a return data type. Procedures perform tasks but do not return results. There are two types of procedures: general procedures for specific purposes and event procedures associated with object events. Functions and procedures are called with or without the CALL keyword and can pass arguments by reference or by value.
This document provides a table of contents for the book "Visual Basic 6 Black Book" which covers topics related to developing applications in Visual Basic 6 such as the development environment, language basics, managing forms, menus, controls like text boxes and buttons, and displaying images. The table of contents lists 10 chapters that cover these topics and provides 3-4 sentence descriptions of the sections within each chapter.
The document discusses various topics related to Visual Basic 6.0 including its integrated development environment, controls, statements, operators, variables, data types, and message boxes. It provides descriptions and examples of forms, controls, programming concepts, and functions in Visual Basic.
What programs can you create in VB ..!?
Windows controls
Reports design
Data sources
Business programs such as inventory management system
Educational programs
This document contains an acknowledgement section thanking contributors to the book including the author's family and website visitors. It also includes a short biography of the author, Dr. Liew Voon Kiong, who has over 15 years of programming experience and created a popular online Visual Basic tutorial. The table of contents provides an overview of the 14 lessons that make up the book, which aim to teach beginners about Visual Basic programming through examples and explanations of concepts like controls, data types, program flow, loops, functions and string manipulation.
Visual Basic 6 allows users to design graphical user interfaces and develop Windows applications. It uses an event-driven programming model where code executes in response to events like user input. The language provides features for creating windows, accessing databases, and using ActiveX technologies. Visual Basic compiles and interprets code as it is written to catch errors early in development. Key concepts include windows, events, and messages which allow applications to respond to user input and system events.
This document outlines a course on Visual Basic 6.0 programming. It covers topics like controls and properties, putting code into Visual Basic, making decisions, looping, additional controls, database connectivity, menus and graphics. It provides examples of creating forms, adding controls, writing code for buttons, using message boxes, if/then/else statements, and selecting colors from a list box. The document is a guide for learning the basics of Visual Basic programming through examples and exercises.
This document contains code snippets for a variety of programming functions including displaying images, adding/removing list items, string manipulation functions, date/time functions, number formatting functions, input/output boxes, decision-making structures like If-Then-Else and Select Case, and loops. It also includes codes for creating menus.
One Stop Documentation Solution for SQL Server, SSAS, SSRS and SSIS
•Database and BI documentation
•Data profiling
•Impact and lineage analysis
•Compare changes to your BI environment
Industrial and Academic Experiences with a User Interaction Modeling Language...Marco Brambilla
This document discusses an industrial and academic modeling language called WebML used for modeling user interaction and interfaces. WebML was created to address the need for a standard modeling notation for user interaction that had usability and tool support. The document outlines the objectives of WebML which are to model the view components, modules, events and interactions of applications. It also describes the WebML notation and how it effectively models concepts like pages, navigation, and events with minimal overhead. Several successful industrial use cases are presented, including applications developed for Acer, GTT transportation group, and A2A utility, which demonstrate the benefits of WebML for rapid prototyping.
Caleb Jenkins discusses best practices for writing automated unit tests, including having a test runner, setting the test context or scene, and handling dependencies through techniques like dependency injection and mocking. He advocates writing tests first to define requirements and ensure code meets expectations. Jenkins also addresses challenges with testing edges or interfaces and advocates separating UI/data logic from edges to increase testability.
SharePoint is a set of integrated technologies that provides a platform for organizations to build a flexible, long-term information and knowledge management infrastructure. SharePoint has gained over 250 million users in a few years and continues growing as customers apply it to more business processes. SharePoint is also increasingly becoming a compelling development platform with advanced capabilities in the 2010 release.
Pentaho offers both a free Community Edition and a paid Enterprise Edition of their business intelligence software. The Community Edition provides basic analysis and visualization capabilities but requires in-house resources for support, testing, and upgrades. The Enterprise Edition provides more advanced and integrated features as well as professional support and guaranteed updates.
The document discusses UML diagrams that can be used to model J2EE applications, including use case diagrams, class diagrams, package diagrams, sequence diagrams, collaboration diagrams, state diagrams, activity diagrams, component diagrams, and deployment diagrams. It provides examples of each diagram type using a case study of an online bookstore system. The use case diagram shows use cases and actors, the class diagram shows classes and relationships, and other diagrams demonstrate how specific interactions, workflows, and system configurations can be modeled through different UML diagrams.
This document provides an overview of the CorelDRAW workspace and tools. It defines key terminology like objects and vectors. It describes the main components of the application window such as the toolbox, property bar, rulers, and status bar. It also explains tools for drawing, editing and formatting objects and text. Dockers and flyouts are covered as ways to access additional commands related to active tools.
The document discusses user authorization in SAP systems, explaining that user master records must be set up and assigned roles before users can access the system. A user's menu and authorizations are linked to their user master record via roles, and the user master record stores all user data required for system access across eight categories. Central user administration allows creation and maintenance of all user master data to be performed in a single SAP system.
MVC, DCI, and lookups like the NetBeans APIs allow for modular and adaptable applications. MVC separates concerns but ties view and controller to the model. DCI focuses on object interactions and morphing objects to provide different contexts. The NetBeans lookup system allows objects to dynamically adapt interfaces and be discovered through queries, supporting modularity. Future application architectures may increasingly use annotations to define actions and controls in a more modular way.
This document contains a series of presentation slides about an unspecified topic. The slides include titles, bullet points, descriptions, categories and sections. They demonstrate formatting for text, images, tables and charts. The slides provide information through headings, benefits statements, quotes and diagrams. The overall document serves as an example of formatting and styles that can be used for a presentation.
After Effects includes effects like Turbulent Displace and Magnify for distortions, and delivers comprehensive audio effects. Expressions can be used to link complex animations between layers. Graphics experience can be leveraged into motion graphics by animating layered Photoshop and Illustrator files in After Effects. After Effects integrates well with other Adobe applications like Photoshop, Illustrator, Premiere Pro, and Encore DVD. Videos can be exported in various formats for different mediums like web, DVD, and tape.
The document is a version 2.5 use case specification for a conference management system. It includes a revision history, table of contents, introduction describing the purpose and intended audience, definitions of terms, a description of actors and a use case diagram. It also provides details for an assign paper use case, describing the typical sequence of events and rules.
The document describes 3 easy steps to drive your DBA crazy:
1. Start with a small project that grows increasingly complex without oversight, making someone responsible for the growing complexity.
2. Engage in confusing and nonsensical conversations about the project that frustrate the DBA's attempts to understand it.
3. Repeatedly violate the DBA's authority over and ownership of the database through dangerous or prohibited actions, disrespecting the DBA's expertise.
Procedures functions structures in VB.Nettjunicornfx
This document discusses procedures, functions, and structures in Visual Basic .NET. It defines procedures as blocks of code that can be invoked from other parts of a program and optionally accept arguments. Functions are similar but return a value. Structures allow user-defined data types. The document provides examples and explains how to declare, define parameters for, and call procedures and functions. It also covers argument passing mechanisms, built-in math and string functions, and variable scope.
Functions are named blocks of code that perform a specific task and return a result. They can take arguments and have a return data type. Procedures perform tasks but do not return results. There are two types of procedures: general procedures for specific purposes and event procedures associated with object events. Functions and procedures are called with or without the CALL keyword and can pass arguments by reference or by value.
This document provides a table of contents for the book "Visual Basic 6 Black Book" which covers topics related to developing applications in Visual Basic 6 such as the development environment, language basics, managing forms, menus, controls like text boxes and buttons, and displaying images. The table of contents lists 10 chapters that cover these topics and provides 3-4 sentence descriptions of the sections within each chapter.
The document discusses various topics related to Visual Basic 6.0 including its integrated development environment, controls, statements, operators, variables, data types, and message boxes. It provides descriptions and examples of forms, controls, programming concepts, and functions in Visual Basic.
What programs can you create in VB ..!?
Windows controls
Reports design
Data sources
Business programs such as inventory management system
Educational programs
This document contains an acknowledgement section thanking contributors to the book including the author's family and website visitors. It also includes a short biography of the author, Dr. Liew Voon Kiong, who has over 15 years of programming experience and created a popular online Visual Basic tutorial. The table of contents provides an overview of the 14 lessons that make up the book, which aim to teach beginners about Visual Basic programming through examples and explanations of concepts like controls, data types, program flow, loops, functions and string manipulation.
Visual Basic 6 allows users to design graphical user interfaces and develop Windows applications. It uses an event-driven programming model where code executes in response to events like user input. The language provides features for creating windows, accessing databases, and using ActiveX technologies. Visual Basic compiles and interprets code as it is written to catch errors early in development. Key concepts include windows, events, and messages which allow applications to respond to user input and system events.
This document outlines a course on Visual Basic 6.0 programming. It covers topics like controls and properties, putting code into Visual Basic, making decisions, looping, additional controls, database connectivity, menus and graphics. It provides examples of creating forms, adding controls, writing code for buttons, using message boxes, if/then/else statements, and selecting colors from a list box. The document is a guide for learning the basics of Visual Basic programming through examples and exercises.
This document contains code snippets for a variety of programming functions including displaying images, adding/removing list items, string manipulation functions, date/time functions, number formatting functions, input/output boxes, decision-making structures like If-Then-Else and Select Case, and loops. It also includes codes for creating menus.
One Stop Documentation Solution for SQL Server, SSAS, SSRS and SSIS
•Database and BI documentation
•Data profiling
•Impact and lineage analysis
•Compare changes to your BI environment
Industrial and Academic Experiences with a User Interaction Modeling Language...Marco Brambilla
This document discusses an industrial and academic modeling language called WebML used for modeling user interaction and interfaces. WebML was created to address the need for a standard modeling notation for user interaction that had usability and tool support. The document outlines the objectives of WebML which are to model the view components, modules, events and interactions of applications. It also describes the WebML notation and how it effectively models concepts like pages, navigation, and events with minimal overhead. Several successful industrial use cases are presented, including applications developed for Acer, GTT transportation group, and A2A utility, which demonstrate the benefits of WebML for rapid prototyping.
Caleb Jenkins discusses best practices for writing automated unit tests, including having a test runner, setting the test context or scene, and handling dependencies through techniques like dependency injection and mocking. He advocates writing tests first to define requirements and ensure code meets expectations. Jenkins also addresses challenges with testing edges or interfaces and advocates separating UI/data logic from edges to increase testability.
SharePoint is a set of integrated technologies that provides a platform for organizations to build a flexible, long-term information and knowledge management infrastructure. SharePoint has gained over 250 million users in a few years and continues growing as customers apply it to more business processes. SharePoint is also increasingly becoming a compelling development platform with advanced capabilities in the 2010 release.
Pentaho offers both a free Community Edition and a paid Enterprise Edition of their business intelligence software. The Community Edition provides basic analysis and visualization capabilities but requires in-house resources for support, testing, and upgrades. The Enterprise Edition provides more advanced and integrated features as well as professional support and guaranteed updates.
1. DaVinci is a platform and framework for developing multi-screen applications. It includes tools like a WYSIWYG editor, CSS editor, resource manager, and animation editors.
2. The WYSIWYG editor allows dragging and dropping UI elements and sees changes instantly. CSS editors make it easy to apply styles without coding knowledge.
3. Tools like the animation editors and resource manager help optimize apps and add dynamic elements like transitions and effects.
Mindtree Mainframe Center of Excellence (CoE) focuses on the development of cutting edge mainframe tools. These tools ensure greater efficiencies and consistency in the outputs.
When Should You Consider Meta Architecturesccsl-usp
There are times when a system must adapt to new requirements within months or weeks rather than years. These new requirements can include complicated rules and new products or services the organization needs to scale to support. As the system scales up and becomes more complicated it can become very hard to adapt quickly to these changing requirements. In fact, the system can even become harder to change and slower to accept new requirements. This can lead to a desired architecture that is designed to scale allowing the system to more easily adapt to changing requirements.
Do you have the goal of building a system that can be extended and adapted without programmer intervention? Do you have the itch to explore meta-programming, not just because it is cool or complicated, but because you want your system's behavior or domain representations to scale? If so, consider learning about the design of systems that represent user-defined behavior specifications as metadata.
Architects create Adaptive Object-Model systems when they want to enable end-user programmers to adapt their system's behavior and they don't want developers to become the bottleneck. But what does it take to build a system that can be changed and adapted without programming? How do Adaptive Object-Models differ from little languages or DSLs and when is it appropriate to consider stepping into the meta world to build such an extensible system? This talk presents the basic ideas about meta-architecture such as an Adaptive Object-Model architecture and shares experiences that the presenters have had building and tuning various production meta-architecture systems that have enabled organizations to scale them more easily and without programming wizardry.
When Should You Consider Meta ArchitecturesDaniel Cukier
This document discusses meta-architectures and when they should be considered. It provides examples of systems that have successfully used meta-architectures to scale, including manufacturing, insurance, and medical systems. Meta-architectures allow non-programmers like domain experts to make changes by modifying metadata, rather than requiring code changes. The adaptive object model is presented as an example of a meta-architecture that uses metadata to describe domain models and rules at runtime.
The document discusses automation strategies for agile testing projects. It recommends using automation to test frequently in agile projects. It evaluates different automation approaches like licensed tools, record and playback, and open source frameworks. It proposes using page object and data-driven frameworks with open source tools to avoid issues like hard coding and create maintainable tests. It also recommends best practices like continuous integration, reusable modules, readable code, and reporting features to create robust and maintainable automation.
The Web Development Eco-system with VSTS, ASP.NET 2.0 & Microsoft AjaxDarren Sim
This document provides an overview of the Visual Studio Team System (VSTS) for web development. It discusses common pains experienced by web development teams and how VSTS addresses them through integrated tools for source control, work item tracking, reporting, build automation, and project portals. Key features of VSTS demonstrated include change management, work item management, shared and exclusive checkouts, promotion modeling, and reports. Additional resources for learning more about VSTS are also provided.
The document discusses Object-Relational Mapping (ORM) and how it can be used to develop a social networking application. It introduces ORM and explains that it maps objects to relational databases. It then discusses why ORM is useful, allowing for an object-oriented approach. It also covers how to use ORM with a dependency injection framework and generic Data Access Objects. Finally, it provides an example of how ORM could be implemented in a social networking application using value objects like Persons and Connections between them.
The document outlines the curriculum for a 30-hour Cognos10 BI course. The curriculum covers topics such as data warehousing fundamentals, installation and configuration of Cognos10g, Cognos Query Studio, Analysis Studio, Report Studio, and Framework Manager. It also includes deliverables such as student guides, lab guides, video tutorials, interview questions, and project artifacts. The prerequisite is a basic knowledge of databases and data warehousing. Contact information is provided for inquiries.
This document discusses Dojo CRUD components developed at PeopleWare to provide a master-detail user interface for creating, retrieving, updating, and deleting objects stored in a backend database. It describes PeopleWare's adoption of Dojo for rich internet applications and the architecture of the CRUD components, including the use of Dojo widgets, MVC pattern, and DWR for communication between the browser and Java backend.
This document discusses change management and version control challenges for PeopleSoft applications and how CAPI addresses them. It notes that traditional version control tools only manage 20% of PeopleSoft object types, while CAPI provides version control for both the 80% of proprietary database objects and 20% of file server objects. The document compares CAPI to other tools and outlines how CAPI can help customers by establishing process controls, enabling automation and regulatory compliance, and increasing efficiency. It provides examples of how large customers have evaluated and selected CAPI.
Here are the key steps to create a unit test using the test-driven development (TDD) approach in Visual Studio 2010:
1. Create a new test project in your solution.
2. Write a test method that describes the behavior you want to implement, such as "ShouldReturnTotalScoreForAGameWithAllZeros".
3. Run the test and watch it fail since the production code hasn't been implemented yet.
4. Create the class/method you want to test with just enough code for the test to pass.
5. Run the test and watch it pass.
6. Refactor the production code as needed, and write more tests to increase coverage in a test-
Best practices for effective doors implementation-Ashwini PatilRoopa Nadkarni
The document discusses best practices for implementing DOORS, including:
1) Organizing the database structure using projects, folders, and modules.
2) Setting up module frameworks with templates and archetypes.
3) Optimizing module performance by configuring histories/baselines, shareable editing, views, and other settings.
4) Establishing linking schemas by defining direction, type of links, and enforcing link rules.
5) Applying access rights and control strategies through groups, permissions, and propagation.
CollabNet provides the TeamForge application lifecycle management platform for software development. TeamForge allows centralized management of development artifacts across programming languages and tools. It provides an extensible framework for integrating third-party tools and custom integrations. TeamForge also promotes collaboration through features like wikis, discussions, and task management to improve efficiency and visibility throughout the software development lifecycle.
1. Ext Designer is a UI builder for Ext JS that allows rapidly arranging and configuring Ext JS components visually. It generates first-class Ext JS components that can be exported and used in an IDE or browser.
2. The Designer workflow involves creating and configuring components and data stores, exporting to disk, importing into an IDE, and implementing business logic and behavior.
3. Advanced configuration techniques in Designer include function-type component configurations, adding plugins, and integrating user extensions, while still leveraging the visual design capabilities of Designer.
The document compares the architecture of Cognos 8.2, OBIEE 10g, and OBIEE 11g across several features. Some key differences include:
- OBIEE 10g and 11g are based on N-tier architectures while Cognos uses a web-based service-oriented architecture.
- OBIEE 10g and 11g require desktop tools for repository development and management while Cognos 8.2 is platform independent.
- OBIEE 11g improved support for clustering, load balancing, and in-memory capabilities compared to earlier versions.
- All three support integration with external applications, single sign-on, and LDAP integration for security. However,
1. Visual Basic 6 Black Book:Table of Contents
To access the contents, click the chapter and section titles.
Visual Basic 6 Black Book
Go! (Publisher: The Coriolis Group)
Author(s): Steven Holzner
Keyword ISBN: 1576102831
q Publication Date: 08/01/98
Search this book:
Go!
Please Select
Introduction
What's On the CD-ROM
About the Author
Chapter 1—Visual Basic Overview
Creating A Project In Visual Basic
The Parts Of A Visual Basic Project
Project Scope
Projects On Disk
Using The Visual Basic Application Wizard
Visual Basic Programming Conventions
Code Commenting Conventions
Best Coding Practices In Visual Basic
Getting Down To The Details
Chapter 2—The Visual Basic Development Environment
In Depth
Overview Of The Integrated Development Environment
Immediate Solutions
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (1 of 24) [7/31/2001 8:56:15 AM]
2. Visual Basic 6 Black Book:Table of Contents
Selecting IDE Colors, Fonts, And Font Sizes
Aligning, Sizing, And Spacing Multiple Controls
Setting A Startup Form Or Procedure
Using Visual Basic Predefined Forms, Menus, And Projects
Setting A Project’s Version Information
Setting An EXE File’s Name And Icon
Displaying The Debug, Edit, And Form Editor Toolbars
Turning Bounds Checking On Or Off
Checking For Pentium Errors
Managing Add-Ins
Adding ActiveX Controls And Insertable Objects To Projects
Customizing Menus And Toolbars
Setting Forms’ Initial Positions
Enabling Or Disabling Quick Info, Auto List Members, Data
Tips, And Syntax Checking
Displaying Or Hiding IDE Windows
Searching An Entire Project For Specific Text Or A
Variable’s Definition
Optimizing For Fast Code, Small Code, Or A Particular
Processor
Adding And Removing Forms, Modules, And Class Modules
Using Bookmarks
Using The Object Browser
Chapter 3—The Visual Basic Language
In Depth
How Does Visual Basic Code Look?
Immediate Solutions
Declaring Constants
Declaring Variables
Selecting Variable Types
Converting Between Data Types
Setting Variable Scope
Verifying Data Types
Declaring Arrays And Dynamic Arrays
Declaring Subroutines
Declaring Functions
Preserving Variables’ Values Between Calls To Their
Procedures
Handling Strings
Converting Strings To Numbers And Back Again
Handling Operators And Operator Precedence
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (2 of 24) [7/31/2001 8:56:15 AM]
3. Visual Basic 6 Black Book:Table of Contents
Using If…Else Statements
Using Select Case
Making Selections With Switch() And Choose()
Looping
Using Collections
Sending Keystrokes To Other Programs
Handling Higher Math
Handling Dates And Times
Handling Financial Data
Ending A Program At Any Time
Chapter 4—Managing Forms In Visual Basic
In Depth
The Parts Of A Form
The Parts Of An MDI Form
Immediate Solutions
Setting Title Bar Text
Adding/Removing Min/Max Buttons And Setting A Window’s
Border
Adding Toolbars To Forms
Adding Status Bars To Forms
Referring To The Current Form
Redrawing Form Contents
Setting Control Tab Order
Moving And Sizing Controls From Code
Showing And Hiding Controls In A Form
Measurements In Forms
Working With Multiple Forms
Loading, Showing, And Hiding Forms
Setting The Startup Form
Creating Forms In Code
Using The Multiple Document Interface
Arranging MDI Child Windows
Opening New MDI Child Windows
Arrays Of Forms
Coordinating Data Between MDI Child Forms (Document
Views)
Creating Dialog Boxes
All About Message Boxes And Input Boxes
Passing Forms To Procedures
Minimizing/Maximizing And Enabling/Disabling Forms
From Code
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (3 of 24) [7/31/2001 8:56:15 AM]
4. Visual Basic 6 Black Book:Table of Contents
Chapter 5—Visual Basic Menus
In Depth
Menu Design Considerations
Immediate Solutions
Using The Visual Basic Application Wizard To Set Up Your
Menus
What Item Goes In What Menu?
Adding A Menu To A Form
Modifying And Deleting Menu Items
Adding A Menu Separator
Adding Access Characters
Adding Shortcut Keys
Creating Submenus
Creating Immediate (“Bang”) Menus
Using The Visual Basic Predefined Menus
Adding A Checkmark To A Menu Item
Disabling (Graying Out) Menu Items
Handling MDI Form And MDI Child Menus
Adding A List Of Open Windows To An MDI Form’s
Window Menu
Making Menus And Menu Items Visible Or Invisible
Creating And Displaying Pop-Up Menus
Adding And Deleting Menu Items At Runtime
Adding Bitmaps To Menus
Using The Registry To Store A Most Recently Used (MRU)
Files List
Chapter 6—Text Boxes And Rich Text Boxes
In Depth
Use Of Text Boxes And RTF Boxes In Windows Programs
Immediate Solutions
Creating Multiline, Word-Wrap Text Boxes
Aligning Text In Text Boxes
Adding Scroll Bars To Text Boxes
Making A Text Box Read-Only
Accessing Text In A Text Box
Selecting And Replacing Text In A Text Box
Copying Or Getting Selected Text To Or From The
Clipboard
Creating A Password Control
Controlling Input In A Text Box
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (4 of 24) [7/31/2001 8:56:15 AM]
5. Visual Basic 6 Black Book:Table of Contents
Adding An RTF Box To A Form
Accessing Text In A Rich Text Box
Selecting Text In Rich Text Boxes
Using Bold, Italic, Underline, And Strikethru
Indenting Text In Rich Text Boxes
Setting Fonts And Font Sizes In Rich Text Boxes
Using Bullets In Rich Text Boxes
Aligning Text In A Rich Text Box
Setting Text Color In RTF Boxes
Moving The Insertion Point In RTF Boxes
Adding Superscripts And Subscripts In Rich Text Boxes
Setting The Mouse Pointer In Text Boxes And Rich Text
Boxes
Searching For (And Replacing) Text In RTF Boxes
Saving RTF Files From Rich Text Boxes
Reading RTF Files Into A Rich Text Box
Printing From A Rich Text Box
Chapter 7—Command Buttons, Checkboxes, And Option
Buttons
In Depth
How This Chapter Works
Immediate Solutions
Setting A Button’s Caption
Setting A Button’s Background Color
Setting Button Text Color
Setting Button Fonts
Reacting To Button Clicks
Creating Button Control Arrays
Resetting The Focus After A Button Click
Giving Buttons Access Characters
Setting Button Tab Order
Disabling Buttons
Showing And Hiding Buttons
Adding Tool Tips To Buttons
Resizing And Moving Buttons From Code
Adding A Picture To A Button
Adding A Down Picture To A Button
Adding Buttons At Runtime
Passing Buttons To Procedures
Handling Button Releases
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (5 of 24) [7/31/2001 8:56:15 AM]
6. Visual Basic 6 Black Book:Table of Contents
Making A Command Button Into A Cancel Button
Getting A Checkbox’s State
Setting A Checkbox’s State
Grouping Option Buttons Together
Getting An Option Button’s State
Setting An Option Button’s State
Using Graphical Checkboxes And Radio Buttons
Using Checkboxes And Option Buttons Together
Chapter 8—List Boxes And Combo Boxes
In Depth
Immediate Solutions
Adding Items To A List Box
Referring To Items In A List Box By Index
Responding To List Box Events
Removing Items From A List Box
Sorting A List Box
Determining How Many Items Are In A List Box
Determining If A List Box Item Is Selected
Using Multiselect List Boxes
Making List Boxes Scroll Horizontally
Using Checkmarks In A List Box
Clearing A List Box
Creating Simple Combo Boxes, Drop-Down Combo Boxes,
And Drop-Down List Combo Boxes
Adding Items To A Combo Box
Responding To Combo Box Selections
Removing Items From A Combo Box
Getting The Current Selection In A Combo Box
Sorting A Combo Box
Clearing A Combo Box
Locking A Combo Box
Getting The Number Of Items In A Combo Box
Setting The Topmost Item In A List Box Or Combo Box
Adding Numeric Data To Items In A List Box Or Combo Box
Determining Where An Item Was Added In A Sorted List
Box Or Combo Box
Using Images In Combo Boxes
Chapter 9—Scroll Bars And Sliders
In Depth
Adding Scroll Bars And Sliders To A Program
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (6 of 24) [7/31/2001 8:56:15 AM]
7. Visual Basic 6 Black Book:Table of Contents
Immediate Solutions
Adding Horizontal Or Vertical Scroll Bars To A Form
Setting Scroll Bars’ Minimum And Maximum Values
Setting Up Scroll Bar Clicks (Large Changes)
Setting Up Scroll Bar Arrow Clicks (Small Changes)
Getting A Scroll Bar’s Current Value
Handling Scroll Bar Events
Handling Continuous Scroll Bar Events
Showing And Hiding Scroll Bars
Coordinating Scroll Bar Pairs
Adding Scroll Bars To Text Boxes
Creating And Using Flat Scroll Bars
Customizing Flat Scroll Bar Arrows
Creating Slider Controls
Setting A Slider’s Orientation
Setting A Slider’s Range
Setting Up Slider Groove Clicks
Adding Ticks To A Slider
Setting A Slider’s Tick Style
Getting A Slider’s Current Value
Handling Slider Events
Handling Continuous Slider Events
Handling Slider Selections
Clearing A Selection In A Slider
Creating An Updown Control
Setting An Updown Control’s Minimum And Maximum
Handling Updown Events
Chapter 10—Picture Boxes And Image Controls
In Depth
Image Controls
Picture Boxes
Immediate Solutions
Adding A Picture Box To A Form
Setting Or Getting The Picture In A Picture Box
Adjusting Picture Box Size To Contents
Aligning A Picture Box In A Form
Handling Picture Box Events (And Creating Image Maps)
Picture Box Animation
Grouping Other Controls In A Picture Box
Using A Picture Box In An MDI Form
Drawing Lines And Circles In A Picture Box
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (7 of 24) [7/31/2001 8:56:15 AM]
8. Visual Basic 6 Black Book:Table of Contents
Using Image Lists With Picture Boxes
Adding Text To A Picture Box
Formatting Text In A Picture Box
Clearing A Picture Box
Accessing Individual Pixels In A Picture Box
Copying Pictures To And Pasting Pictures From The Clipboard
Stretching And Flipping Images In A Picture Box
Printing A Picture
Using Picture Box Handles
Setting Measurement Scales In A Picture Box
Saving Pictures To Disk
Adding An Image Control To A Form
Stretching An Image In An Image Control
Chapter 11—Windows Common Dialogs
In Depth
The Common Dialog Control
Immediate Solutions
Creating And Displaying A Windows Common Dialog
Setting A Common Dialog’s Title
Did The User Click OK Or Cancel?
Using A Color Dialog Box
Setting Color Dialog Flags
Using The Open And Save As Dialogs
Setting Open And Save As Flags
Getting The File Name In Open, Save As Dialogs
Setting Maximum File Name Size In Open And Save As
Dialog Boxes
Setting Default File Extensions
Set Or Get The Initial Directory
Setting File Types (Filters) In Open, Save As Dialogs
Using A Font Dialog Box
Setting Font Dialog Flags
Setting Max And Min Font Sizes
Using The Print Dialog Box
Setting Print Dialog Flags
Setting The Minimum And Maximum Pages To Print
Setting Page Orientation
Showing Windows Help From A Visual Basic Program
Chapter 12—The Chart And Grid Controls
In Depth
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (8 of 24) [7/31/2001 8:56:15 AM]
9. Visual Basic 6 Black Book:Table of Contents
The Chart Control
Grid Controls
Immediate Solutions
Adding A Chart Control To A Program
Adding Data To A Chart Control
Working With A Multiple Data Series
Setting Chart And Axis Titles And Chart Colors
Creating Pie Charts
Creating 2D And 3D Line Charts
Creating 2D And 3D Area Charts
Creating 2D And 3D Bar Charts
Creating 2D And 3D Step Charts
Creating 2D And 3D Combination Charts
Adding A Flex Grid Control To A Program
Working With Data In A Flex Grid Control
Typing Data Into A Flex Grid
Setting Flex Grid Grid Lines And Border Styles
Labeling Rows And Columns In A Flex Grid
Formatting Flex Grid Cells
Sorting A Flex Grid Control
Dragging Columns In A Flex Grid Control
Connecting A Flex Grid To A Database
Chapter 13—The Timer And Serial Communications
Controls
In Depth
The Timer Control
The Communications Control
The MonthView And DateTimePicker Controls
Immediate Solutions
Adding A Timer Control To A Program
Initializing A Timer Control
Handling Timer Events
Formatting Times And Dates
Creating A Clock Program
Creating A Stopwatch
Creating An Alarm Clock
Creating Animation Using The Timer Control
Adding A Communications Control To A Program
Setting Up The Receive And Transmit Buffers
Opening The Serial Port
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (9 of 24) [7/31/2001 8:56:16 AM]
10. Visual Basic 6 Black Book:Table of Contents
Working With A Modem
Reading Data With The Communications Control
Sending Data With The Communications Control
Setting Up Communications Handshaking
Handling Communications Events
Closing The Serial Port
Adding A MonthView Control To Your Program
Getting Dates From A MonthView Control
Adding A DateTimePicker Control To Your Program
Using A DateTimePicker Control
Chapter 14—The Frame, Label, Shape, And Line
Controls
In Depth
The Frame Control
The Label Control
The Shape Control
The Line Control
Form Drawing Methods
Immediate Solutions
Adding A Frame To A Program
Setting Frame Size And Location
Dragging And Dropping Controls
Grouping Controls In A Frame
Adding A Label To A Program
Using Labels Instead Of Text Boxes
Formatting Text In Labels
Aligning Text In Labels
Handling Label Control Events
Using Labels To Give Access Keys To Controls Without
Captions
Adding A Shape Control To A Program
Drawing Rectangles
Drawing Squares
Drawing Ovals
Drawing Circles
Drawing Rounded Rectangles
Drawing Rounded Squares
Setting Shape Borders: Drawing Width, Dashes, And Dots
Filling Shapes
Drawing A Shape Without The IDE Grid
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (10 of 24) [7/31/2001 8:56:16 AM]
11. Visual Basic 6 Black Book:Table of Contents
Moving Shapes At Runtime
Adding A Line Control To A Program
Drawing Thicker, Dotted, And Dashed Lines
Drawing A Line Without The IDE Grid
Changing A Line Control At Runtime
Using Form Methods To Draw Lines
Using Form Methods To Draw Circles
Chapter 15—Toolbars, Status Bars, Progress Bars, And
Coolbars
In Depth
Toolbars
Status Bars
Progress Bars
Coolbars
Immediate Solutions
Adding A Toolbar To A Form
Aligning Toolbars In A Form
Adding Buttons To A Toolbar
Handling Toolbar Buttons Clicks
Connecting Toolbar Buttons To Menu Items
Adding Separators To A Toolbar
Adding Images To Toolbar Buttons
Adding Check (Toggle) Buttons To A Toolbar
Creating Button Groups In A Toolbar
Adding Combo Boxes And Other Controls To A Toolbar
Setting Toolbar Button Tool Tips
Letting The User Customize The Toolbar
Adding Toolbar Buttons At Runtime
Adding A Status Bar To A Program
Aligning Status Bars In A Form
Adding Panels To A Status Bar
Displaying Text In A Status Bar
Displaying Time, Dates, And Key States In A Status Bar
Customizing A Status Bar Panel’s Appearance
Displaying Images In A Status Bar
Handling Panel Clicks
Adding New Panels To A Status Bar At Runtime
Creating Simple Status Bars
Adding A Progress Bar To A Form
Using A Progress Bar
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (11 of 24) [7/31/2001 8:56:16 AM]
12. Visual Basic 6 Black Book:Table of Contents
Adding A Coolbar To A Form
Aligning Coolbars In A Form
Adding Bands To A Coolbar
Adding Controls To Coolbar Bands
Handling Coolbar Control Events
Chapter 16—Image Lists, Tree Views, List Views, And
Tab Strips
In Depth
Image Lists
Tree Views
List Views
Tab Strips
Immediate Solutions
Adding An Image List To A Form
Adding Images To Image Lists
Using The Images In Image Lists
Setting Image Keys In An Image List
Adding A Tree View To A Form
Selecting Tree View Styles
Adding Nodes To A Tree View
Adding Subnodes To A Tree View
Adding Images To A Tree View
Expanding And Collapsing Nodes (And Setting Node Images
To Match)
Handling Tree View Node Clicks
Adding A List View To A Form
Adding Items To A List View
Adding Icons To List View Items
Adding Small Icons To List View Items
Selecting The View Type In List Views
Adding Column Headers To A List View
Adding Column Fields To A List View
Handling List View Item Clicks
Handling List View Column Header Clicks
Adding A Tab Strip To A Form
Inserting Tabs Into A Tab Strip Control
Setting Tab Captions
Setting Tab Images
Using A Tab Strip To Display Other Controls
Handling Tab Clicks
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (12 of 24) [7/31/2001 8:56:16 AM]
13. Visual Basic 6 Black Book:Table of Contents
Chapter 17—File Handling And File Controls
In Depth
Sequential Access Files
Binary Files
The FileSystemObject
Immediate Solutions
Using The Common Dialogs File Open And File Save As
Creating A File
Getting A File’s Length
Opening A File
Writing To A Sequential File
Writing To A Random Access File
Writing To A Binary File
Reading From Sequential Files
Reading From Random Access Files
Reading From Binary Files
Accessing Any Record In A Random Access File
Closing A File
Saving Files From Rich Text Boxes
Opening Files In Rich Text Boxes
Saving Files From Picture Boxes
Opening Files In Picture Boxes
Using The Drive List Box Control
Using The Directory List Box Control
Using The File List Box Control
Creating And Deleting Directories
Changing Directories
Copying A File
Moving A File
Deleting A File
When Was A File Created? Last Modified? Last Accessed?
Creating A TextStream
Opening A TextStream
Writing To A TextStream
Reading From A TextStream
Closing A TextStream
Chapter 18—Working With Graphics
In Depth
Graphics Methods Vs. Graphics Controls
About Visual Basic Coordinates
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (13 of 24) [7/31/2001 8:56:16 AM]
14. Visual Basic 6 Black Book:Table of Contents
Immediate Solutions
Redrawing Graphics In Windows: AutoRedraw And Paint
Clearing The Drawing Area
Setting Colors
Drawing Text
Working With Fonts
Drawing Lines
Drawing Boxes
Drawing Circles
Drawing Ellipses
Drawing Arcs
Drawing Freehand With The Mouse
Filling Figures With Color
Filling Figures With Patterns
Setting Figure Drawing Style And Drawing Width
Drawing Points
Setting The Drawing Mode
Setting Drawing Scales
Using The Screen Object
Resizing Graphics When The Window Is Resized
Copying Pictures To And Pasting Pictures From The
Clipboard
Printing Graphics
Layering Graphics With The AutoRedraw And ClipControls
Properties
Chapter 19—Working With Images
In Depth
Picture Boxes Vs. Image Controls
Image Effects: Working With Images Bit By Bit
Immediate Solutions
Adding Images To Controls
Adding Images To Forms
Using Image Controls
Using Picture Boxes
AutoSizing Picture Boxes
Loading Images In At Runtime
Clearing (Erasing) Images
Storing Images In Memory Using The Picture Object
Using Arrays Of Picture Objects
Adding Picture Clip Controls To A Program
Selecting Images In A Picture Clip Control Using Coordinates
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (14 of 24) [7/31/2001 8:56:16 AM]
15. Visual Basic 6 Black Book:Table of Contents
Selecting Images In A Picture Clip Control Using Rows And
Columns
Flipping Images
Stretching Images
Creating Image Animation
Handling Images Bit By Bit
Creating Grayscale Images
Lightening Images
Creating “Embossed” Images
Creating “Engraved” Images
Sweeping Images
Blurring Images
Freeing Memory Used By Graphics
Chapter 20—Creating ActiveX Controls And Documents
In Depth
All About ActiveX Components
In-Process Vs. Out-Of-Process Components
Which ActiveX Component Do I Want To Build?
Immediate Solutions
Creating An ActiveX Control
Designing An ActiveX Control From Scratch
Giving ActiveX Controls Persistent Graphics
Basing An ActiveX Control On An Existing Visual Basic
Control
Handling Constituent Control Events In An ActiveX Control
Adding Controls To An ActiveX Control (A Calculator
ActiveX Control)
Testing An ActiveX Control
Creating A Visual Basic Project Group To Test An ActiveX
Control
Registering An ActiveX Control
Using A Custom ActiveX Control In A Visual Basic Program
Adding A Property To An ActiveX Control
Making ActiveX Control Properties Persistent (PropertyBag
Object)
Adding A Method To An ActiveX Control
Adding An Event To An ActiveX Control
Adding Design Time Property Pages
Creating An ActiveX Document
ActiveX Document DLLs Vs. EXEs
Adding Controls To An ActiveX Document (A Tic-Tac-Toe
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (15 of 24) [7/31/2001 8:56:16 AM]
16. Visual Basic 6 Black Book:Table of Contents
Example)
Handling Constituent Control Events In An ActiveX
Document
Testing An ActiveX Document
Creating ActiveX Documents That Run Outside Visual Basic
Distributed Computing: ActiveX Documents And Integrated
Browsers
Making ActiveX Document Properties Persistent
(PropertyBag Object)
Chapter 21—Visual Basic And The Internet: Web
Browsing, Email, HTTP, FTP, And DHTML
In Depth
Creating A Web Browser
Creating A Dynamic HTML Page
Working With Email
Using FTP
Using HTTP
Immediate Solutions
Creating A Web Browser
Specifying URLs In A Web Browser
Adding Back And Forward Buttons To A Web Browser
Adding Refresh, Home, And Stop Buttons To A Web Browser
Creating DHTML Pages
Adding Text To DHTML Pages
Adding Images To DHTML Pages
Adding HTML Controls To DHTML Pages
Adding ActiveX Controls To DHTML Pages
Adding Tables To DHTML Pages
Adding Hyperlinks To DHTML Pages
Using MAPI Controls To Support Email
Sending Email From Visual Basic
Reading Email In Visual Basic
Using The Internet Transfer Control For FTP And HTTP
Operations
Handling FTP Operations In Visual Basic
Handling HTTP Operations In Visual Basic
Chapter 22—Multimedia
In Depth
The Multimedia MCI Control
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (16 of 24) [7/31/2001 8:56:16 AM]
17. Visual Basic 6 Black Book:Table of Contents
Using The Multimedia Control From Code
Immediate Solutions
Using The Animation Control
Adding A Multimedia Control To A Program
Setting The Device Type And Opening The Device
Setting File Information And Opening Files
Setting A Multimedia Control’s Time Format
Controlling The Multimedia Control From Code
Stopping And Pausing The Multimedia Control
Displaying The Multimedia Control’s Status
Closing The Multimedia Control
Playing CDs From Your CD-ROM Drive
Playing WAV Files
Playing MID Files
Playing AVI Files
Playing MPG Files
Keeping Track Of Multimedia Command Execution Using
Notification
Handling Multimedia Errors
Stepping A Multimedia Control Forward Or Backward
Frame By Frame
Starting From And To In A Multimedia Control
Making The Multimedia Control Wait
Multimedia Without Multimedia Controls
Chapter 23—Connecting To The Windows API And
Visual C++
In Depth
Declaring And Using DLL Procedures In Visual Basic
Handling C/C++ And Windows Data Types
What’s Available In The Windows API?
Immediate Solutions
Getting Or Creating A Device Context (Including The Whole
Screen)
Drawing Lines In A Device Context
Drawing Ellipses In A Device Context
Drawing Rectangles In A Device Context
Setting Drawing Colors And Styles (Using Pens)
Setting Drawing Modes (ROP2)
Handling The Mouse Outside Your Program’s Window
Copying Bitmaps Between Device Contexts Quickly
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (17 of 24) [7/31/2001 8:56:16 AM]
18. Visual Basic 6 Black Book:Table of Contents
Capturing Images From The Screen
Getting A Window Handle For Any Window On The Screen
Getting A Window’s Text
Playing Sounds With API Functions
Allocating Memory And Storing Data
Reading Data From Memory And Deallocating Memory
Making A Window Topmost
Determining Free And Total Disk Space
Determining The Windows Directory
Connecting To Visual C++
Chapter 24—Databases: Using DAO, RDO, And ADO
In Depth
What Are Databases?
DAO
RDO
ADO
The Data-Bound Controls
Immediate Solutions
Creating And Managing Databases With The Visual Data
Manager
Creating A Table With The Visual Data Manager
Creating A Field With The Visual Data Manager
Entering Data In A Database With The Visual Data Manager
Adding A Data Control To A Program
Opening A Database With The Data Control
Connecting A Data Control To A Bound Control
Registering An ODBC Source
Opening A Database With A Remote Data Control
Connecting A Remote Data Control To A Bound Control
Opening A Database With An ADO Data Control
Connecting An ADO Data Control To A Bound Control
The Data Form Wizard: Creating A Data Form
Using Database Control Methods: Adding, Deleting, And
Modifying Records
Adding Records To Databases
Deleting Records In Databases
Refreshing A Data Control
Updating A Database With Changes
Moving To The Next Record
Moving To The Previous Record
Moving To The First Record
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (18 of 24) [7/31/2001 8:56:16 AM]
19. Visual Basic 6 Black Book:Table of Contents
Moving To The Last Record
The Data-Bound Controls: From Text Boxes To Flex Grids
The ADO Data-Bound Controls
Chapter 25—Working With Database Objects In Code
In Depth
DAO
RDO
ADO
Immediate Solutions
A Full-Scale DAO Example
Using The Daocode Example To Create And Edit A Database
DAO: Creating A Database
DAO: Creating A Table With A TableDef Object
DAO: Adding Fields To A TableDef Object
DAO: Adding An Index To A TableDef Object
DAO: Creating A Record Set
DAO: Opening A Database
DAO: Adding A Record To A Record Set
DAO: Editing A Record In A Record Set
DAO: Updating A Record In A Record Set
DAO: Moving To The First Record In A Record Set
DAO: Moving To The Last Record In A Record Set
DAO: Moving To The Next Record In A Record Set
DAO: Moving To The Previous Record In A Record Set
DAO: Deleting A Record In A Record Set
DAO: Sorting A Record Set
DAO: Searching A Record Set
DAO: Executing SQL
A Full-Scale RDO Example
RDO: Opening A Connection
RDO: Creating A Result Set
RDO: Moving To The First Record In A Result Set
RDO: Moving To The Last Record In A Result Set
RDO: Moving To The Next Record In A Result Set
RDO: Moving To The Previous Record In A Result Set
RDO: Executing SQL
A Full-Scale ADO Example
ADO: Opening A Connection
ADO: Creating A Record Set From A Connection
ADO: Binding Controls To Record Sets
ADO: Adding A Record To A Record Set
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (19 of 24) [7/31/2001 8:56:16 AM]
20. Visual Basic 6 Black Book:Table of Contents
ADO: Refreshing The Record Set
ADO: Updating A Record In A Record Set
ADO: Moving To The First Record In A Record Set
ADO: Moving To The Last Record In A Record Set
ADO: Moving To The Next Record In A Record Set
ADO: Moving To The Previous Record In A Record Set
ADO: Deleting A Record In A Record Set
ADO: Executing SQL In A Record Set
Chapter 26—OLE
In Depth
Linking Vs. Embedding
Immediate Solutions
Adding An OLE Control To A Form
Creating And Embedding An OLE Object At Design Time
Linking Or Embedding An Existing Document At Design
Time
Autosizing An OLE Control
Determining How An Object Is Displayed In An OLE
Container Control
Using The OLE Control’s Pop-Up Menus At Design Time
Inserting An OLE Object Into An OLE Control At Runtime
Deactivating OLE Objects
Using Paste Special To Insert A Selected Part Of A Document
Into An OLE Control
How To Activate The OLE Objects In Your Program
Activating OLE Objects With A Pop-Up Menu That Lists All
OLE Verbs
Activating OLE Objects From Code
Is An Object Linked Or Embedded?
Handling Multiple OLE Objects
Using OLE Control Arrays To Handle Multiple OLE Objects
Loading New OLE Controls At Runtime
Dragging OLE Objects In A Form
Deleting OLE Objects
Copying And Pasting OLE Objects With The Clipboard
Zooming OLE Objects
Saving And Retrieving Embedded Object’s Data
Handling OLE Object Updated Events
Disabling In-Place Editing
Chapter 27—Creating Code Components (OLE
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (20 of 24) [7/31/2001 8:56:16 AM]
21. Visual Basic 6 Black Book:Table of Contents
Automation)
In Depth
Code Components: Classes And Objects
Code Components And Threads
Immediate Solutions
Using A Code Component From A Client Application
Creating An Object From A Class
Using A Code Component’s Properties And Methods
Creating A Code Component
Setting A Code Component’s Project Type: In-Process Or
Out-Of-Process
Adding A Property To A Code Component
Adding A Get/Let Property To A Code Component
Adding A Method To A Code Component
Passing Arguments To A Code Component Method
Passing Optional Arguments To A Code Component Method
Testing A Code Component With A Second Instance Of
Visual Basic
Creating And Registering An In-Process Code Component
Creating And Registering An Out-Of-Process Code
Component
Using The Class Initialize Event
Using The Class Terminate Event
Global Objects: Using Code Components Without Creating
An Object
Destroying A Code Component Object
Using Forms From Code Components
Creating Dialog Box Libraries In Code Components
Designing Multithreaded In-Process Components
Designing Multithreaded Out-Of-Process Components
Chapter 28—Advanced Form, Control, And Windows
Registry Handling
In Depth
Drag And Drop And OLE Drag And Drop
The Windows Registry
Immediate Solutions
Passing Controls To Procedures
Passing Control Arrays To Procedures
Determining The Active Control
Determining Control Type At Runtime
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (21 of 24) [7/31/2001 8:56:16 AM]
22. Visual Basic 6 Black Book:Table of Contents
Creating/Loading New Controls At Runtime
Changing Control Tab Order
Changing Control Stacking Position With Z-Order
Drag/Drop: Dragging Controls
Drag/Drop: Dropping Controls
Handling “Self-Drops” When Dragging And Dropping
Drag/Drop: Handling DragOver Events
OLE Drag/Drop: Dragging Data
OLE Drag/Drop: Dropping Data
OLE Drag/Drop: Reporting The Drag/Drop Outcome
Using The Lightweight Controls
Passing Forms To Procedures
Determining The Active Form
Using The Form Object’s Controls Collection
Using the Forms Collection
Setting A Form’s Startup Position
Keeping A Form’s Icon Out Of The Windows 95 Taskbar
Handling Keystrokes In A Form Before Controls Read Them
Making A Form Immovable
Showing Modal Forms
Saving Values In The Windows Registry
Getting Values From The Windows Registry
Getting All Registry Settings
Deleting A Registry Setting
Chapter 29—Error Handling And Debugging
In Depth
Testing Your Programs
Immediate Solutions
Writing Error Handlers
Using On Error GoTo Label
Using On Error GoTo line#
Using On Error Resume Next
Using On Error GoTo 0
Using Resume In Error Handlers
Using Resume Label In Error Handlers
Using Resume line# In Error Handlers
Using Resume Next In Error Handlers
Getting An Error’s Error Code
Getting An Error’s Description
Determining An Error’s Source Object
Handling Errors In DLLs: The LastDLLError Property
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (22 of 24) [7/31/2001 8:56:16 AM]
23. Visual Basic 6 Black Book:Table of Contents
Creating An Intentional (User-Defined) Error
Nested Error Handling
Creating An Error Object Directly In Visual Basic
Trappable Cancel Errors In Common Dialogs
Debugging In Visual Basic
Setting Debugging Breakpoints
Single-Stepping While Debugging
Examining Variables And Expressions
Adding Debug Watch Windows
Using The Immediate Window While Debugging
Clearing All Debugging Breakpoints
Executing Code Up To The Cursor While Debugging
Skipping Over Statements While Debugging
Chapter 30—Deploying Your Program: Creating Setup
Programs, Help Files, And Online Registration
In Depth
Setup Programs
Help Files
Online Registration
The “Designed For Microsoft Windows” Logo
Immediate Solutions
Creating Your Application’s EXE File
Using The Package And Deployment Wizard
Step 1: Package Type
Step 2: Build Folder
Step 3: Files
Step 4: Distribution Type
Step 5: Installation Title
Step 6: Icons
Step 7: Install Locations
Step 8: Shared Files
Step 9: Finished!
Creating Help Files With The Microsoft Help Workshop
Creating A Help Project’s RTF File
Entering Text In A Help File
Creating A Help Hotspot
Creating A Help Hotspot Target
Titling A Help Page
Adding Help Topics To The Help Index
Creating Help Pop-Up Links
file:///E|/Program%20Files/KaZaA/My%20Shared...ual%20Basic%20-%20%20Black%20Book/ewtoc.html (23 of 24) [7/31/2001 8:56:16 AM]
25. Visual Basic 6 Black Book:Introduction
Click Here!
ITKnowledge
account My site
home subscribe login search FAQ/help contact us
info ITKnowledge map
To access the contents, click the chapter and section titles.
Visual Basic 6 Black Book
Go! (Publisher: The Coriolis Group)
Author(s): Steven Holzner
Keyword ISBN: 1576102831
q
Brief Full Publication Date: 08/01/98
Advanced
Search
Bookmark It
Search Tips
Search this book:
Go!
Please Select Table of Contents
Introduction
Welcome to your Visual Basic support package. That’s what this book has been
designed to be: your complete VB support package. Have we reached that goal yet? It’s
up to you to decide. If what you’re looking for is not in this edition, we’ll work hard to
make sure it’s in the next—I encourage your suggestions. Please feel free to write.
We’ll put in the time to make sure this book is the most complete one available on
Visual Basic, edition after edition. This is the book we want you to come back to again
and again.
I’ve used Visual Basic back before version 1 even came out publicly and have written
many books on the program. I put Visual Basic to work for a very wide range of uses
day after day; in fact, it’s is my favorite programming package of all, and it comes
close to being my favorite program period. But I’ve never written a book on Visual
Basic as complete as this one and never included as many features, documented or
undocumented, examples, and tips in one volume.
This book has been designed to give you the coverage you just won’t find in any other
file:///E|/Program%20Files/KaZaA/My%20Shared%...sual%20Basic%20-%20%20Black%20Book/index.html (1 of 6) [7/31/2001 8:56:33 AM]
26. Visual Basic 6 Black Book:Introduction
book. Other books often omit not only the larger topics, like deploying your program
after you’ve created it and creating Help files, but also the smaller ones, like covering
in depth just about every control that comes with Visual Basic, including the ActiveX
controls—from the MS chart control to flat scroll bars, from the serial port comm
control to the Internet transfer control.
Reluctantly, I must admit that it’s impossible for one volume to be utterly
comprehensive on the subject of Visual Basic (impossible because it’s not physically
possible to bind a book that big yet), but we’re trying our best. It’s true that some
specialty books might have more coverage on a few topics, but if you want to see more
on a particular topic, write in and we’ll work seriously on adding more of that topic to
the next edition.
How This Book Works
The task-based format we use in this book is the one most programmers appreciate
because programming is a task-based business. Rather than reading about subjects in
the order the author thinks best, you can go directly to your topic of interest and find
the bite-sized nugget of information you need, such as opening an FTP connection,
adding a Web browser to your program, supporting online user registration from Visual
Basic, adding a method to an ActiveX control, creating an error handler, flipping or
stretching an image, opening an RDO database connection, playing CDs from the
computer’s CD-ROM drive, and literally hundreds of other topics.
And best of all, there’s a working example in code for almost every programming topic
in the book. The actual process of programming is not abstract; it’s very applied. So
instead of vague generalities, we get down to the specifics—all the specifics—that give
you everything you need to understand and use Visual Basic.
In the old days, programming books used to be very top-down, with chapters on
subjects like conditional branching, loop structures, variable declarations, and so forth.
But who sits down to program by saying, “I’m about to create a conditional program
flow branch”? Instead, programmers are more interested in performing useful tasks,
like adding buttons, menus, list boxes, or toolbars to a window; creating graphics
animation; creating dialog boxes; creating setup programs; working with files;
supporting online Help; and so on. And this book is written for programmers.
Because this book is written for programmers, each chapter is broken up into dozens of
practical programming tasks. After selecting the chapter you want, you can turn to the
table of contents, or to the first page in that chapter, to find the task you’re interested
in. Hundreds of tasks are covered in this book, chosen as those that programmers most
want to see. In addition, this book is filled with nearly 800 examples, covering just
about every Visual Basic programming area there is. These examples are bite-sized and
to the point, so you don’t have to wade through a dozen files trying to understand one
simple topic. And they’re as comprehensive as we could make them, covering every
file:///E|/Program%20Files/KaZaA/My%20Shared%...sual%20Basic%20-%20%20Black%20Book/index.html (2 of 6) [7/31/2001 8:56:33 AM]
27. Visual Basic 6 Black Book:Introduction
programming area in the book.
Besides programming tasks and examples, the book also has overviews designed to
bring all the pieces together into a coherent whole, giving you the entire picture. The
first chapter is designed specifically to give you an overview of Visual Basic itself,
along with some of the best programming practices to use, including those
recommended by Microsoft. Every subsequent chapter starts with an overview of the
subject it covers before digging into the specifics, making sure we never get lost in
details. We’ll also see discussions on best programming practices, program design,
program testing, what makes a professional Windows application professional, and
much more, as befits a book that wants to be your complete Visual Basic support
package. In addition, the CD that accompanies this book holds the code for all the
major projects we develop. To open and use a project, look for the Visual Basic project
file (for example, browser.vbp for the browser project) and open that project file with
Visual Basic.
Besides the code from the book, note that the CD has hundreds of megabytes of tools
and software, ready for you to use.
What’s In This Book
Just about everything we could write about Visual Basic is in this book, and that’s a lot
of ground to cover. From language reference to ADO database handling, from creating
Web browsers to dragging and dropping data across applications, from email
applications to multimedia players, from creating ActiveX controls and ActiveX
documents to setup programs, it’s all here.
Here’s some of what we’ll see how to create in this book:
• ActiveX controls
• ActiveX documents
• ADO, DAO, and RDO database applications
• Multimedia AVI, MPG, WAV, and MID players
• CD players that play CDs from the computer’s CD-ROM drive
• Bitmapped menu items
• Full Web browsers
• Pie charts, line charts, bar charts, and others
• Code clients that call methods in programs like Microsoft Excel
• Code components (OLE automation servers)
• Graphics animation
• Applications that use the Windows Common Dialogs
• Customized toolbars with embedded controls like combo boxes
• Data entry forms
• Database editing applications
• Direct connections to the Windows API
• Direct connections to code written in Visual C++
file:///E|/Program%20Files/KaZaA/My%20Shared%...sual%20Basic%20-%20%20Black%20Book/index.html (3 of 6) [7/31/2001 8:56:33 AM]
28. Visual Basic 6 Black Book:Introduction
• Drag/drop operations
• Graphics applications that draw arcs, circles, rectangles, lines, and more
• Email applications
• Error handlers
• Applications that use the printer
• Word processor applications
• File handlers for text and binary data
• FTP applications
• Dialog boxes
• Windows Help files
• MDI applications
• Pop-up menus activated with right mouse clicks
• Application deployment
• HTTP applications
• Image handling: blur, emboss, engrave, flip, sweep, stretch images, and more
• OLE applications
• Applications that use the Windows Registry
• List views and tree views
• Applications that create controls at runtime
• Mouse capture
• OLE drags (dragging data between applications)
• Online user registration
• Picture clip applications
• Setup programs
• Screen capture
• Spreadsheets
• Status bars and toolbars
• Tab strips, progress bars, and others
That’s just some of what’s coming up. Visual Basic is a very large topic, and the topics
we’ll cover number in the hundreds. And if you have suggestions for more, please send
them in.
What You’ll Need
To use this book profitably, you should have some experience with Visual Basic—not
necessarily a lot, but enough to get through Chapter 1 without trouble. We assume you
have some familiarity with the essentials of Visual Basic in this book, although those
essentials are not very hard to pick up. If you do have trouble with Chapter 1, you
might take a look at an introductory book before proceeding.
As far as software goes, just about all you need to use this book is already in Microsoft
Visual Basic (we’ll use version 6 in this book). Visual Basic comes with an enormous
set of tools and resources, and we’ll have our hands full putting them to work.
We try to be as self-contained in this book as possible—even creating the database files
file:///E|/Program%20Files/KaZaA/My%20Shared%...sual%20Basic%20-%20%20Black%20Book/index.html (4 of 6) [7/31/2001 8:56:33 AM]
29. Visual Basic 6 Black Book:Introduction
we’ll use in examples with Visual Basic itself, not with a database application. The
graphics files we use in various examples are on the CD, and the multimedia files we’ll
play in our multimedia examples come with Windows. Some of our OLE and OLE
automation examples use Microsoft Excel, but Excel is not essential to those
examples—any OLE server and OLE automation server program will do. Note that to
use email from Visual Basic, you must have the Windows MAPI system installed (as
represented by the Inbox icon on the Windows desktop).
Where can you go for additional Visual Basic support? You can find Visual Basic user
groups all over, and more are appearing every day. You can also find Visual Basic
information (and advertising) at the Microsoft Visual Basic home page at
www.microsoft.com/vbasic/, free Visual Basic downloads at
http://www.microsoft.com/vbasic/download/, and technical documents (white papers)
at http://www.microsoft.com/vbasic/techmat/.
Although the content varies in accuracy, there are many Usenet groups dedicated to
Visual Basic as well, but be careful what you read there—there’s no guarantee it’s
accurate. About two dozen of those groups are hosted by Microsoft, including:
• microsoft.public.vb.bugs
• microsoft.public.vb.addins
• microsoft.public.vb.controls
• microsoft.public.vb.database
• microsoft.public.vb.installation
• microsoft.public.vb.ole
• microsoft.public.vb.ole.automation
• microsoft.public.vb.syntax
Other, non-Microsoft groups include some of these popular Usenet forums:
• comp.lang.basic.visual
• comp.lang.basic.visual.3rdparty
• comp.lang.basic.visual.announce
• comp.lang.basic.visual.database
• comp.lang.basic.visual.misc
And that all the introduction we need—it’s time to start digging into Visual Basic. As
we’ve said, we intend this book to be your complete support package for Visual Basic,
so, again, if you see something that should be covered and isn’t, let us know. In the
meantime, happy reading!
Table of Contents
file:///E|/Program%20Files/KaZaA/My%20Shared%...sual%20Basic%20-%20%20Black%20Book/index.html (5 of 6) [7/31/2001 8:56:33 AM]