Preparation Guide for
Exam 70-165
Developing Applications with Microsoft Visual Basic 5.0

Exam 70-165 is available as of June 30, 1997.

 

Design Issues

Design and create forms.
Create an application that adds and deletes forms at run time.
Use the Forms collection.


Implement drag-and-drop operations within the Microsoft Windows shell.

Determine when to use a specific event.
Add code to the appropriate form event, such as Initialize, Terminate, Load, Unload, QueryUnload, Activate, and Deactivate.


Add a menu interface to an application.
Dynamically modify the appearance of a menu.
Add a pop-up menu to an application.
Create an application that adds and deletes menus at run time.


Implement user interface controls in an application.
Display data by using the TreeView control.
Display items by using the ListView control.
Provide controls with images by using the ImageList control.
Create toolbars by using the Toolbar control.
Display status information by using the StatusBar control.
Create an application that adds and deletes controls at run time.
Use the Controls collection.

Coding Issues

Declare a variable.
Define the scope of a variable by using the Public, Private, and Static statements.
Use the appropriate declaration statement.


Write and call Sub and Function procedures.
Write and call Sub and Function procedures by using named arguments or optional arguments.
Write and call Sub and Function procedures that require an array as an argument.
Call procedures from outside a module.


Create and use a class module.
Add properties to a class.
Add methods to a class.
Identify whether a class should be public or private.
Declare properties and methods as Friend.
Set the value of the Instancing property.


Access data by using the data controls and bound controls.
Add data to a table by using the DBList or DBCombo control.
Add data to a table by using the standard ListBox control.
Display information by using the DBGrid control.
Display information by using the MSFlexGrid control.


Access data by using code.
Navigate through and manipulate records in a Recordset.
Add, modify, and delete records in a Recordset.
Find a record in a Recordset.
Use the Find or Seek method to search a Recordset.


Incorporate dynamic-link libraries (DLLs) into an application.
Declare and call a DLL routine.
Identify when it is necessary to use the Alias clause.
Create a DLL routine that modifies string arguments.
Pass a null pointer to a DLL routine.
Pass an argument by value and by reference.
Pass a function pointer to a DLL by using a callback function.
Pass a string to a DLL.


Build a Microsoft ActiveX client.
Use the Dim statement to reference an object.
Use the Set statement to create an instance of an object.
Use the CreateObject function to create an instance of an object.


Create an Automation server that exposes objects, properties, methods, and events.
Define properties for objects by using property procedures.
Create a method that displays a form.
Create a multithreaded component.
Use App object properties to control server behavior.
Call an object server asynchronously by using a callback mechanism.
Create, use, and respond to events.


Create and use an ActiveX control.
Declare and raise events.
Create and enable a property page.
Use control events to save and load persistent control properties.
Add an ActiveX control to a Web page.


Create and use ActiveX documents.
Compare ActiveX documents to embedded objects.
Create an ActiveX project with one or more UserDocument objects.
Persist data for an ActiveX document.
Automate an ActiveX document.
Add an ActiveX document to a Web page.


Create applications that can access the Internet.
Gain access to the Internet or an intranet by using the Hyperlink object.
Create an application that has the ability to browse HTML pages.
Create an application that enables connections to the Internet.


Implement error-handling features in an application.
Raise errors from a server.
Create a common error-handling routine.
Display an error message in a dialog box by using the Err object.
Use the appropriate error-trapping options, such as Break on All Errors, Break in Class Module, and Break on Unhandled Errors.


Implement Help features in an application.
Set properties to automatically display Help information when a user presses F1.
Use the HelpFile property to set the default path for Help files in an application.
Use the CommonDialog control to display the contents of a Help file.

Debugging and Testing Issues

Select appropriate compiler options.
List and describe options for optimizing when compiling to native code.
List and describe the differences between compiling to p-code and compiling to native code.


Compile an application conditionally.
Use the #If…#End If and #Const directives to conditionally compile statements.
Set the appropriate conditional compiler flags.


Set watch expressions during program execution.

Monitor the values of expressions and variables by using the debugging windows.
Use the Immediate window to check or change values.
Explain the purpose and usage for the Locals window.


Implement project groups to support the debugging and development process.
Debug DLLs in process.
Test and debug a control in process.


Define the scope of a watch variable.

Distribution Issues

Use the Setup Wizard to create an effective setup program.
Edit the Setup.inf file.
Edit the Vb5dep.ini file.


Create a setup program that installs and registers ActiveX controls.

Manage the Windows system registry.
Use the GetSetting function and the SaveSetting statement to save application-specific information in the registry.
Register components by using the Regsvr32.exe utility.
Register components by using the Remote Automation Connection Manager.
Edit the registry manually.
Register a component automatically.


Distribute an application over the Internet.