VB TEST

landon998
12-14-2000, 09:48 AM
This may be a bit unusual of a request.
I'm having a final in my VB Advanced class tonight and I have this study guide that I was wondering if any of you could take a look at and let me know if you know any of the answers so I can compare them to my answers.

True or False
The Component Object Model is an open standard created by Microsoft that defines how software components can interact with one another.
ActiveX controls can respond to only one user-defined event.
An ActiveX control can pass messages to its client program. The client program can choose to ignore or respond to these messages.
ActiveX EXE component is another expression for an in-process component.
When an object is set to Nothing, a class terminate event is triggered.
The Refresh method redraws the ActiveX control only when needed.
The Flash Method is used to switch it from a selected to unselected state a specified number of times.
To use any ActiveX control in your Visual Basic programs, it needs to be added to the toolbox using the References option from the VB Project menu.
Before an ActiveX control can be used, it must be registered on your system.
Use the REGOCX32 command-line utility to register any .OCXfile.

Multiple Choice
An ActiveX component that is represented by an application that appears within an Internet browser window is called a(n)
a. ActiveX control
b. ActiveX document
c. Code component
d. Common Object Model
Which event is triggered by an ActiveX control when it is first inserted into a container form?
a. InsertProperties
b. DefaultProperties
c. InitProperties
d. Initialize
An ActiveX component that shares the same address space with it client program is called a(n)
a. out-of-process component
b. in-process component
c. shared component
d. separate component
An ActiveX component that runs in an address space separate from its client program is called a(n)
a. out-of-process component
b. in-process component
c. shared component
d. separate component
ActiveX control properties are written to the container form by which event handler?
a. CopyProperties
b. ContainerProperties
c. ControlProperties
d. WriteProperties
Fill in the blank
A(n) __________ component shares the same address space with its client program.
The __________ is a Microsoft standard that defines how software components can interact with one another
A(n) __________ event is automatically generated when an ActiveX control is initially inserted into a container form.
A client program that runs __________ in relation to an out-of-process ActiveX component continues execution after making a request to the component for data or services.
An ActiveX __________ is represented by applications that can appear in an Internet browser window.
Existing controls, such as labels and text boxes, that are assembled to create an ActiveX control are called __________.
An event declaration includes the __________ keyword followed by the event name and an optional argument list.
The way a client program outside of a component’s project creates instances of ActiveX components is controlled by the __________ property.
When a client program creates an instance of a class, a __________ event is triggered.
Assembling programs from tested, standardized components is called __________ software development.

Short Answer
Name the three types of ActiveX components.
What is the difference between an event and an event handler?
Name at least three possible values for an ActiveX component’s Instancing property.
Describe briefly what is meant by the statement “Client programs can run asynchronously in relation to out-of-process ActiveX components.
What is accomplished by a call to the PropertyChanged method?
What is the PropertyBag collection?
What is the relationship between PropertyChanged and WriteProperties event?
Under what circumstances is the Class Initialize event triggered?



Thanks for your help,
Landon

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum