A __________ control defaults to displaying the files in the current directory:
File List Box 75.0%
Dir List Box 0.0%
Drive List Box 25.0%
Combo Box 0.0%
Picture Box 0.0%
List Box 0.0%
DataGrid 0.0%
A prepared statement is:
Query text cached on the client 0.0%
Query text cached on the server 75.0%
Compiled query cached on the client 0.0%
Compiled query cached on the server 25.0%
A stored procedure 0.0%
None of the above 0.0%
A project group is a Project which:
Consists of several Programs 0.0%
Consists of several Applications 0.0%
Consists of Various Forms And Code Modules 25.0%
Consists of several Projects 75.0%
After a Dynaset type recordset has been created and opened, further searching is possible using the:
LookUp method 0.0%
Seek method 20.0%
Locate method 0.0%
FindNext method 80.0%
Search method 0.0%
An ADO dynamic property is:
A property that changes value at runtime 66.0%
A value defined by the user 0.0%
A value defined by the operating system 0.0%
A property that dynamically resizes as needed to accommodate database parameters 0.0%
A property implemented by the OLE DB service provider 33.0%
Consider the following program code: (i) Dim FileName as String Open FileName For Input As #FreeFile (ii) Dim FileName as String FileNum = FreeFile Open FileName For Input As #FileNum
Both (i) and (ii) are correct 100.0%
Only (i) is correct 0.0%
Only (ii) is correct 0.0%
(i) contains a logical error 0.0%
(ii) contains an error 0.0%
Both (i) and (ii) contain errors 0.0%
Consider the following subprogram: Sub ChangeText(ByVal X as String,Y as String) Y = X End Sub If you are calling it using the following code: Call ChangeT...
The Caption of Form1 will change to the value contained in Y$ 50.0%
The Caption of Form1 will not change 0.0%
The Caption changes at random intervals after the function call 0.0%
The code is incorrect 50.0%
Given the following code segment, how many instances of the form are created and displayed ? dim frmvar1 as frmperson,frmvar2 as frmperson set frmvar1 = new frmperson set frmvar2...
None 50.0%
1 0.0%
2 0.0%
3 50.0%
4 0.0%
5 0.0%
6 0.0%
7 0.0%
Global Procedures and Global Variables are declared in:
Form Modules 50.0%
Standard (Code) Modules 50.0%
Class Modules 0.0%
Resource files 0.0%
ActiveX Controls 0.0%
Data Environment 0.0%
How can you keep the user from exiting a form by clicking the Close button?
Place code in the Terminate event 33.0%
Place code in the Unload event 33.0%
Place code in the QueryUnload event 0.0%
This can only be done by using the Windows API 0.0%
Place code in the Load event 0.0%
Place code in the Deactivate event 0.0%
None of the above 33.0%
How do you create a read only property in a form?
Create only a Property Set procedure 50.0%
Create only a Property Get procedure 0.0%
Create only a Property Let procedure 0.0%
Create both a Property Get and Property Let procedure 0.0%
Declare a public variable in the Declarations section of the form 0.0%
Declare a private variable in the Declarations section of the form 50.0%
Create both a Property Get and Property Set procedure 0.0%
If one needs to use an ampersand(&) in a Label but does not want it to be an Access Key, the _______ property of the label must be set to False.
Caption 50.0%
ClipControls 0.0%
UseMnemonic 0.0%
LinkMode 0.0%
Locked 0.0%
Label 0.0%
ZOrder 0.0%
Visible 50.0%
If the CancelError Property of the CommonDialog Box is set to true then which of the following statement is true:
A runtime error can result if the user clicks the cancel button 50.0%
A compile time error occurs 0.0%
The program executes without any error 0.0%
You need to carry out conditional compilation 0.0%
None of the above 50.0%
In order to access a file in Non-textual format, you have to open file in:
Ascii Format 50.0%
Binary Format 0.0%
Input Mode 0.0%
Output mode 0.0%
Append mode 0.0%
Read Mode 50.0%
In order to change the mouse pointer shape from glass to watch-glass, the property to be used is:
MousePointer 50.0%
Picture 0.0%
Menu 0.0%
PointerStyle 50.0%
Pointer 0.0%
Cursor 0.0%
CursorStyle 0.0%
CursorShape 0.0%
In order to enable the DBGridControl or the MSFlexGrid Control to display the contents of a table or query, you need to set only the ______ property:
DataSource 50.0%
Connection 0.0%
RecordSource 50.0%
TableType 0.0%
RecordType 0.0%
DataType 0.0%
In order to overlap the controls (say a command button) during design time, we use the 'Send To Back' or 'Bring To Front' option from the Edit menu. To change it dynamically (i.e. during program ex...
Background color property 50.0%
Caption property 0.0%
ZOrder property 0.0%
AutoRedraw property 0.0%
SendtoBack property 0.0%
BringtoFront property 0.0%
Hide property 0.0%
Show property 50.0%
In order to provide a transparent background to the Form, you must change the _________ property to _______.
BackStyle, Opaque 50.0%
BackColor, White 0.0%
BackStyle, Transparent 0.0%
BackColor, Parent Window's Color 0.0%
ZOrder, 0 0.0%
BackColor, Transparent 50.0%
In Visual Basic, which method can you use to send key strokes to other Window applications?
AppActivate 50.0%
SendKeys 0.0%
Copying the contents from the ClipBoard & pasting 0.0%
Manually typing in the other application's Window 50.0%
Labels do not respond to _____ and ______ events.
Got_Focus , Lost_Focus 100.0%
Click , DblClick 0.0%
Dragdrop , OLECompleteDrag 0.0%
Change, Link Error 0.0%
Message Boxes can hold a maximum of _______ characters.
256 50.0%
512 0.0%
1024 50.0%
2046 0.0%
4092 0.0%
5000 0.0%
10000 0.0%
No limit 0.0%
Name the only property supported by a collection?
Name 50.0%
Index 0.0%
Count 0.0%
Type 0.0%
Value 0.0%
None of the above 50.0%
One can convert a Visual Basic Application into ActiveX Document using:
Visual Database Manager 100.0%
Application Wizard 0.0%
ActiveX Document Migration Wizard 0.0%
Package and Deployment Wizard 0.0%
Only Controls with a ________ property such as Picturebox, Toolbox, Statusbar etc. can be placed on an MDI form:
Showtips 50.0%
Negotiate 0.0%
Align 0.0%
BorderStyle = 0 0.0%
Visible 0.0%
Locked 0.0%
Enabled 50.0%
Tag 0.0%
Procedures declared in a _____ are local whereas procedures declared in a ______ are available to the whole application.
Form window, standard or code module 100.0%
Project window, view code window 0.0%
Class module, code module 0.0%
The ____ function returns the numeric value from a string expression:
Val 50.0%
CStr 0.0%
Round 0.0%
Int 0.0%
Num 50.0%
The ______ function can be used to run any .com, .exe, .bat or .pif file from a Visual Basic program.
Shell 50.0%
Substr 0.0%
SetAttr 0.0%
CStr 0.0%
Exec 0.0%
Perform 0.0%
Do 50.0%
None of the above 0.0%
The ______ property is used to show Tool Tips or Help Balloons when the mouse rests on the object:
ToolTipText 50.0%
Tag 0.0%
Dragmode 0.0%
ShowTips 0.0%
Help 0.0%
Tip 0.0%
ShowHelp 0.0%
Tab 50.0%
The _______ function enables a VB application to make use of the idle time and to respond periodically to events.
GetTime() 100.0%
TrapEvents() 0.0%
GetDate() 0.0%
DoEvents 0.0%
Kill 0.0%
Idle 0.0%
Events 0.0%
Call 0.0%
The _______ method loads the form named 'Form1' in to memory and also displays it.
Load Form1 50.0%
Form1.Show 0.0%
Form1.Visible = True 50.0%
Unload Form1 0.0%
Form1.activate 0.0%
The _______ method resets the contents of bound controls to their original values when the user clicks on the cancel button.
UpdateControls 50.0%
PaintPicture 0.0%
Refresh 50.0%
Resize 0.0%
Resync 0.0%
Restore 0.0%
Cancel 0.0%
Update 0.0%
The _______ property changes the tab order at runtime:
Tab stop 50.0%
Tab key 0.0%
Tab order 0.0%
Tab index 50.0%
The _______ property enables Visual Basic to draw complete images in memory before displaying them on the Screen.
AutoRedraw = True 100.0%
AutoRedraw = False 0.0%
Refresh 0.0%
PaintPicture 0.0%
The caption and the name properties of the command button:
Are one and the same 50.0%
Can be different at times 50.0%
Are actually not properties 0.0%
The event Lost_Focus of one object results in _____ of the other object:
Got_Focus 100.0%
Lost_Focus 0.0%
Mouse_click 0.0%
Refresh 0.0%
Validate 0.0%
Load 0.0%
Activate 0.0%
Initialize 0.0%
The interval property of the Timer control specifies the time in:
Milliseconds 100.0%
Seconds 0.0%
Minutes 0.0%
Hours 0.0%
Either milliseconds or seconds 0.0%
The Kill command in Visual Basic is used for:
Stopping the current process 50.0%
Deleting files 50.0%
Terminating the application 0.0%
Stopping the current thread 0.0%
Debugging the application 0.0%
Error handling 0.0%
None of the above 0.0%
The Load & Activate events are associated with:
All controls 50.0%
Form 50.0%
Command button 0.0%
Image box 0.0%
TreeView control 0.0%
ListView control 0.0%
DataGrid 0.0%
ComboBox 0.0%
The method used to search for records from within a table type recordset object is:
LookUp 50.0%
Seek 0.0%
Locate 0.0%
FindNext 50.0%
Search 0.0%
The settings for the Color properties in Visual Basic are indicated by:
Decimal Coding 50.0%
Octal Coding 0.0%
Hexadecimal Coding 50.0%
Binary Coding 0.0%
To store pictures in an array, Visual Basic provides the _____ control.
PictureClip 50.0%
ImageList 0.0%
PictureBox 50.0%
Image Box 0.0%
Timer Control 0.0%
ListView 0.0%
Common Dialog 0.0%
DataGrid 0.0%
Variables that allow sharing of values across event procedures are called:
Form level variable 50.0%
Object variable 0.0%
Module level variable 50.0%
Visual Basic displays information depending upon the current value of two properties of the form, called:
CurrentX and CurrentY 100.0%
ScaleLeft and ScaleTop 0.0%
ScaleHeight and ScaleTop 0.0%
x and y 0.0%
TopX and TopY 0.0%
LeftX and LeftY 0.0%
What data type is the HelpContextID?
String 50.0%
Integer 50.0%
Single 0.0%
Double 0.0%
Long 0.0%
Char 0.0%
Float 0.0%
What do CurrentX and CurrentY return?
Current X and Y co-ordinates of mousepointer 50.0%
Current X and Y co-ordinates of cursor 0.0%
A String of X & Y 0.0%
Current x and y co-ordinates of the control 50.0%
What does the controls collection contain?
A list of all controls on a form 50.0%
A list of all the controls used by your program 50.0%
A list of all text boxes on a form 0.0%
A list of all visible controls 0.0%
The names of all control arrays on the form 0.0%
What does the forms collection contain?
A list of all forms in a project 50.0%
A list of all hidden forms 0.0%
A list of all currently loaded forms 50.0%
A list of all visible forms 0.0%
All the child forms of an MDI application. 0.0%
What is the default value for the scalemode property of the form?
Twip 50.0%
Point 0.0%
Pixel 0.0%
Character 50.0%
Centimeter 0.0%
Inches 0.0%
Millimeters 0.0%
What is the extension of the Visual Basic project file that stores the design of a user control.
.ctx 50.0%
.ctl 50.0%
.ctr 0.0%
.ocx 0.0%
.vbp 0.0%
.dll 0.0%
.ucl 0.0%
.utl 0.0%
What is the purpose of the Class Builder add-in in Visual Basic:
To add classes to the current project 50.0%
To change the current project to a class based project 0.0%
To create new classes and define their properties, methods & events 50.0%
To draw out how the application model will look 0.0%
What is the purpose of the Image List Control?
To display images to the user 50.0%
To help in creating a ToolBar 0.0%
To allow the editing of icons 0.0%
To provide a repository for images used by other controls 50.0%
To provide images to the listbox control 0.0%
To provide images for the splash screen 0.0%
To provide icons for error messages 0.0%
What is the sequence in which the following events are triggered when a form is loaded?
Initialize, Load, Resize and Paint 100.0%
Initialize, Load, Paint and Resize 0.0%
Load, Initialize, Resize and Paint 0.0%
Load, Initialize, Paint and Resize 0.0%
Initialize, Resize, Paint and Load 0.0%
Load, Paint,Initialize and Resize 0.0%
Initialize, Paint, Load and Resize 0.0%
Paint, Resize, Initialize and Load 0.0%
What is the sequence of events when a form is unloaded?
QueryUnload, Unload and Terminate 50.0%
QueryUnload, Terminate and Unload 0.0%
QueryUnload and Unload 0.0%
Unload only 0.0%
Terminate, QueryUnload and Unload 0.0%
Terminate, Unload and QueryUnload 50.0%
Unload, QueryUnload and Terminate 0.0%
Unload, Terminate and QueryUnload 0.0%
What you must do before making calls to an ActiveX DLL project in the same Project Group?
Compile the DLL 100.0%
Check the DLL is off in your project's Reference List 0.0%
Make sure the DLL is the Startup Project 0.0%
Ensure that a Standard Exe form is included and is made the Startup Form. 0.0%
Whenever the current record is about to change, Visual Basic generates the ______ event:
Validate 50.0%
UpdateRecords 50.0%
UpdateControls 0.0%
BeginTrans 0.0%
BeginMove 0.0%
Update 0.0%
Which collection of an ActiveX control enumerates all of the properties that can be bound to a data source?
DataFields 50.0%
DataMembers 0.0%
DataBindings 0.0%
DataProperties 50.0%
DataBase 0.0%
DataColumns 0.0%
Which event is fired when a text box loses focus?
LostFocus 100.0%
FocusLost 0.0%
RemoveFocus 0.0%
FocusAway 0.0%
NoFocus 0.0%
Leavefocus 0.0%
Which event is triggered when the user moves to another open form?
Unload 50.0%
QueryUnload 0.0%
Deactivate 50.0%
Terminate 0.0%
Load 0.0%
Initialize 0.0%
Repaint 0.0%
Resize 0.0%
Which event occurs only once in the entire life cycle of an ActiveX control?
Initialize 100.0%
Resize 0.0%
Terminate 0.0%
WriteProperties 0.0%
InitProperties 0.0%
Activate 0.0%
None of the above 0.0%
Which event of a text box would you use for validating the data entered by the user?
Validate 100.0%
Validation 0.0%
Check 0.0%
Audit 0.0%
GotFocus 0.0%
Checkdata 0.0%
ValidateDate 0.0%
Which event of an ActiveX control data provider runs every time a bound control extracts data through the provider?
GetDataMember 100.0%
GetDataField 0.0%
GetDataProperty 0.0%
GetDataRow 0.0%
GetData 0.0%
GetFields 0.0%
GetRows 0.0%
RetrieveData 0.0%
Which event procedure is called only if AutoRedraw property is set to false:
Form_GotFocus 50.0%
Form_Paint 0.0%
Form_Activate 50.0%
Which event should be used to resize an ActiveX control as the user modifies the size of the control implementation on a form?
Resize 50.0%
Paint 0.0%
Repaint 0.0%
Initialize 0.0%
Change 50.0%
ReDimension 0.0%
Dimension 0.0%
Any of the above 0.0%
Which event should you use to store property values into the PropertyBag?
Terminate 50.0%
ReadProperties 0.0%
StoreProperties 0.0%
WriteProperties 0.0%
SaveProperties 50.0%
CommitProperties 0.0%
Which events allow you to determine if a Control or Shift key was pressed by the user?
Click and KeyPress 50.0%
Click, KeyUp and KeyDown 0.0%
KeyUp and KeyDown 0.0%
KeyPress, KeyUp and KeyDown 0.0%
Click, KeyPress, KeyUp and KeyDown 50.0%
KeyPress and KeyUp 0.0%
Which events enable you to determine which key was pressed by the user?
Click and KeyPress 100.0%
Click, KeyUp and KeyDown 0.0%
KeyUp and KeyDown 0.0%
KeyPress, KeyUp and KeyDown 0.0%
Click, KeyPress, KeyUp and KeyDown 0.0%
Which form event would you use to activate a pop-up menu when the user clicks the right mouse button?
Click 100.0%
MouseMove 0.0%
DragOver 0.0%
DragDrop 0.0%
MouseUp 0.0%
Mouse-popup 0.0%
ShowMenu 0.0%
Which function or method will you use to get a count of the maximum index limit of an array?
UBound function 50.0%
LBound function 0.0%
Substr function 0.0%
Bound Control method 0.0%
Limit method 50.0%
UpperLimit method 0.0%
Upper method 0.0%
MaxArray function 0.0%
Which is the only event of the timer control?
Timer 50.0%
TimeElapsed 0.0%
TimeOver 0.0%
Reset 0.0%
TimeOut 50.0%
Restart 0.0%
Freeze 0.0%
Stop 0.0%
Which line of code listed here can be used to create a string of fixed length:
Dim strFirstName as String 50.0%
strFirstName * 255 0.0%
strFirstName = 255 0.0%
Dim strFirstName as String(255) 0.0%
None of the above 50.0%
Which method of the Recordset object should you use to navigate multiple recordsets returned by a stored procedure?
NewRecordset 50.0%
NavigateRecordset 0.0%
OpenNextRecordset 0.0%
NextRecordset 50.0%
SkipRecordset 0.0%
PreviousRecordset 0.0%
JumpRecordset 0.0%
GoTORecordset 0.0%
Which method will you use to remove a form from the Screen but retain it in memory?
Show method 50.0%
Unload method 0.0%
Hide method 0.0%
CLS method 0.0%
Deactivate method 50.0%
Which method would you use to get a free or unused File identifier while opening any file:
FreeFile 100.0%
GetFileNum 0.0%
GetFile 0.0%
GetBytes 0.0%
NextFile 0.0%
File 0.0%
GetNextFile 0.0%
None of the above 0.0%
Which of the following ADO recordset types provides the greatest degree of concurrency?
Static 50.0%
Forward-only 0.0%
Dynamic 50.0%
Keyset 0.0%
Read only 0.0%
Keyset and Dynamic 0.0%
Which of the following approaches to data modifications is the least efficient?
Updating through a cursor using a recordset 50.0%
A stored procedure 50.0%
An update statement prepared and executed 0.0%
An update statement executed directly 0.0%
Updating through a data control 0.0%
Which of the following are not properties of Command Button:
Caption 0.0%
Visible 0.0%
Multi-Line 0.0%
Font 0.0%
Tag 0.0%
Bold 100.0%
Enabled 0.0%
Which of the following can be shown to the user using the Common Dialog control in VB?
Common messages passed to Windows 50.0%
Open dialog box 50.0%
Windows explorer 0.0%
Input box 0.0%
Message box 0.0%
Error messages 0.0%
Help 0.0%
None of the above 0.0%
Which of the following cannot be included in the Open method of the recordset?
Cursor Type 50.0%
User Name 50.0%
Active Connection 0.0%
CursorLocation 0.0%
LockType 0.0%
Source 0.0%
Which of the following compiled elements does not run in process?
ActiveX EXE 0.0%
ActiveX DLL 0.0%
ActiveX Control 0.0%
MTS Component 100.0%
Standard DLL 0.0%
Standard Exe 0.0%
Which of the following debug tools would you use to locate your current position in a series of embedded procedure calls?
Locals window 50.0%
Immediate window 0.0%
Watch window 0.0%
Callstack 50.0%
Debug object 0.0%
Which of the following is an event of the Shape control?
GotFocus 50.0%
LostFocus 0.0%
Validate 0.0%
KeyPress 0.0%
A shape control does not have events 50.0%
Which of the following is the only drag related event?
DragEnter 50.0%
DragLeave 0.0%
DragStart 0.0%
DragStop 0.0%
DragDrop 50.0%
BeginDrag 0.0%
EndDrag 0.0%
Which of the following is the only valid Resume statement in an error handler?
Resume prior 50.0%
Resume previous 0.0%
Resume later 0.0%
Resume next 0.0%
Resume before 0.0%
Resume to 0.0%
Resume statement 0.0%
Resume application 50.0%
Which of the following is the valid stepping option?
Step Around 0.0%
Step Beyond 0.0%
Step Over 0.0%
Step Behind 0.0%
Step forward 0.0%
Step Into 100.0%
Step Out 0.0%
Which of the following locking types will lock a recordset only during an Update process and not immediately when the data modifications are requested?
Pessimistic 0.0%
Update 0.0%
Optimistic 0.0%
Batch optimistic 0.0%
Read only 100.0%
Delayed locking 0.0%
Which of the following methods is used to inform an ActiveX control's container that one of its properties has been modified?
PropertyChanged 0.0%
CanPropertyChange 0.0%
ModifyProperty 100.0%
PropertyModify 0.0%
PropertyChange 0.0%
PropertyModified 0.0%
ChangeProperty 0.0%
Which of the following procedure types will execute when you assign a value to a property of an object?
Property Get 50.0%
Property Assign 0.0%
Property Let 50.0%
Property Set 0.0%
Public Sub 0.0%
Which of the following situations would not cause the Initialize event of an ActiveX control to occur?
When a control is placed on a form at design time 0.0%
When a form designer containing a control is closed 100.0%
When a form is run 0.0%
When a compiled application containing a control executes 0.0%
When an application terminates and re-enters design-time for the host application 0.0%
Which of the following statements forces inline error handling?
On Error GoTo linelabel 0.0%
On Error GoTo Inline 0.0%
On Error Stop 0.0%
On Error Resume Next 0.0%
On Error GoTo 0 100.0%
On Error Resume 0.0%
None of the above 0.0%
Which of the following statements is capable of abandoning a series of modifications made to a recordset locked with a BatchOptimistic lock?
CancelUpdate 50.0%
CancelBatch 50.0%
CancelBatchUpdate 0.0%
AbandonBatch 0.0%
AbandonBatchUpdate 0.0%
Rollbackupdate 0.0%
Rollbackbatch 0.0%
None of the above 0.0%
Which of the following statements is incorrect regarding toolbars?
There can be only one toolbar on a form 100.0%
Toolbars can be positioned anywhere on the form 0.0%
Toolbars can be customized by the user 0.0%
Toolbar buttons can display images 0.0%
Toolbar buttons can display text 0.0%
Toolbars can have both images and buttons 0.0%
Which of the following statements should you write to cause the component to fire an event?
RaiseEvent 0.0%
DeclareEvent 0.0%
FireEvent 0.0%
DoEvents 0.0%
ExecuteEvents 0.0%
Execute 0.0%
TriggerEvent 100.0%
Which of the following tools can be used to change the value of a variable or property during break mode of an application?
Watch window 0.0%
Immediate window 0.0%
Callstack 0.0%
Locals window 0.0%
Debug object 100.0%
Which of the following will perform a direct execution of a Command object?
The Execute method 50.0%
The Prepare method 0.0%
The ExecDirect method 0.0%
The Open method 0.0%
The Exec method 50.0%
The ExecProcedure method 0.0%
None of the above 0.0%
Which of the following will provide the best aggregate performance for a query that is not executed repeatedly?
Direct execution 50.0%
Stored procedures 50.0%
Prepared statements 0.0%
Data Environment 0.0%
ADO Data Control 0.0%
Which parameter of the Execute method of the Connection object returns the number of records that the operation affected?
RecordsAffected 100.0%
RowsAffected 0.0%
RecordsUpdated 0.0%
RowsOperated 0.0%
RecordsOperated 0.0%
Which parameter of the WriteProperty method can be omitted but should be included to increase the efficiency of the control?
Name 50.0%
Value 0.0%
Caption 0.0%
PropBag 0.0%
DefaultValue 50.0%
Title 0.0%
Tag 0.0%
None of the above 0.0%
Which property of the Err object returns the numeric value associated with the most recent runtime error?
Description 50.0%
No 0.0%
Number 50.0%
Source 0.0%
Errorcode 0.0%
Num 0.0%
Code 0.0%
Which property of the form changes the form's title?
Name 50.0%
Heading 0.0%
Caption 50.0%
Text 0.0%
Title 0.0%
Which property of the ListView control determines which field a sort is based on?
Sorted 50.0%
SortKey 50.0%
SortOrder 0.0%
SortField 0.0%
Sort 0.0%
Key 0.0%
ListKey 0.0%
None of the above 0.0%
Which property of the ProgressBar determines how much of the bar is filled?
Min 50.0%
Max 0.0%
Value 50.0%
CurrentVal 0.0%
FillValue 0.0%
Fill 0.0%
BarComplete 0.0%
Which property procedure is used to retrieve the value of a property?
Retrieve 50.0%
Get 50.0%
GetProperty 0.0%
Value 0.0%
RetrieveValue 0.0%
Which three methods does the collection object support?
Let, Get, Set 50.0%
Load, Unload, Count 0.0%
Add, Remove, Item 50.0%
Add, Delete, Index 0.0%
Add, Remove, Sort 0.0%
Add, Remove, Count 0.0%
Add, Delete, Count 0.0%
Add, Set, Count 0.0%
You are creating a client application that calls ActiveX DLLs. Which of the following properties of the Err object provides the name of a component that sends an error back to the client application?
Number 50.0%
Description 0.0%
CompName 0.0%
Component 0.0%
Source 50.0%
Text 0.0%
Desc 0.0%
None of the above 0.0%
You are creating an ActiveX component that raises user-defined errors. What is the valid range of error numbers that you can use for user-defined errors?
1-1000 50.0%
0-255 0.0%
1-65535 0.0%
0-1000 0.0%
513-65535 50.0%
1000-2000 0.0%
10000-20000 0.0%
None of the above 0.0%
You are creating an ActiveX component that raises user-defined errors. Which of the following statements correctly raises an error to the client with error number 20000?
Err.Raise vbObjectError + 20000 50.0%
Err.Number = 20000 0.0%
Err.Raise 20000 0.0%
Err.Raise vbObjectError,20000 0.0%
Err.Number 20000 0.0%
Error.Raise vbObjectError + 20000 50.0%
Error.Number 20000 0.0%
Error.Raise 20000 0.0%
You can create menus by the ________ and _________.
Menu Editor, Application Wizard 50.0%
Menu Editor, Win32 API 0.0%
Win32 API, Application Wizard 0.0%
Class Builder, New Application Wizard 50.0%
You want the code of the close command button to execute upon pressing the ESC key, even though the focus may be on another control in the form. Which property of the command button would you set t...
Cancel 100.0%
Escape 0.0%
Exit 0.0%
Focus 0.0%
Default 0.0%
Losefocus 0.0%
ExecEvent 0.0%
FireEvent 0.0%
You want to display the code and the description of an error. What would be the correct syntax?
Msgbox err.no & err.text 50.0%
Msgbox err.number & err.text 0.0%
Msgbox error.number & error.text 0.0%
Msgbox error.number & error.description 0.0%
Msgbox err.number & err.description 50.0%
Msgbox err.num & err.description 0.0%
Msgbox err.num & err.text 0.0%
None of the above 0.0%