9 Apr, 2007
VB Interview Questions
- Message Boxes can hold a maximum of _______ characters.
- 256
- 512
- 1024
- 2046
- 4092
- 5000
- 10000
- No limit
- Which parameter of the Execute method of the Connection object returns the number of records that the operation affected?
- RecordsAffected
- RowsAffected
- RecordsUpdated
- RowsOperated
- RecordsOperated
- Which of the following is not an element of the ADO model?
- Database
- Error
- Connection
- Parameter
- Recordset
- Field
- Driver
- What data type is the HelpContextID?
- String
- Integer
- Single
- Double
- Long
- Char
- Float
- Variables that allow sharing of values across event procedures are called:
- Form level variable
- Object variable
- Module level variable
- Which property of the ListView control determines which field a sort is based on?
- Sorted
- SortKey
- SortOrder
- SortField
- Sort
- Key
- ListKey
- None of the above
- 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 ChangeText(Form1.Caption,Y$)
- The Caption of Form1 will change to the value contained in Y$
- The Caption of Form1 will not change
- The Caption changes at random intervals after the function call
- The code is incorrect
- Visual Basic fires the _______ event everytime a part of the form is newly exposed.
- Load
- Activate
- Paint
- Show
- Initialize
- Which of the following ADO recordset types provides the greatest degree of concurrency?
- Static
- Forward-only
- Dynamic
- Keyset
- Read only
- Keyset and Dynamic
- Which of the following is the only valid Resume statement in an error handler?
- Resume prior
- Resume previous
- Resume later
- Resume next
- Resume before
- Resume to
- Resume statement
- Resume application