VB Interview Questions 5



  1. What does the forms collection contain?
    • A list of all forms in a project
    • A list of all hidden forms
    • A list of all currently loaded forms
    • A list of all visible forms
    • All the child forms of an MDI application
  2. Which method of the Recordset object should you use to navigate multiple recordsets returned by a stored procedure?
    • NewRecordset
    • NavigateRecordset
    • OpenNextRecordset
    • NextRecordset
    • SkipRecordset
    • PreviousRecordset
    • JumpRecordset
    • GoTORecordset
  3. Which of the following cannot be included in the Open method of the recordset?
    • Cursor Type
    • User Name
    • Active Connection
    • CursorLocation
    • LockType
    • Source
  4. The settings for the Color properties in Visual Basic are indicated by:
    • Decimal Coding
    • Octal Coding
    • Hexadecimal Coding
    • Binary Coding
  5. What you must do before you make calls to an ActiveX DLL project in the same Project Group?
    • Compile the DLL
    • Check the DLL off in your project’s Reference List
    • Make sure the DLL is the Startup Project
    • Ensure that a Standard Exe form is included and is made the Startup Form.
  6. The _______ property changes the tab order at runtime:
    • Tab stop
    • Tab key
    • Tab order
    • Tab index
  7. What do CurrentX and CurrentY return?
    • Current X and Y co-ordinates of mousepointer
    • Current X and Y co-ordinates of cursor
    • A String of X & Y
    • Current x and y co-ordinates of the control
  8. The Kill command in Visual Basic is used for:
    • Stopping the current process
    • Deleting files
    • Terminating the application
    • Stopping the current thread
    • Debugging the application
    • Error handling
    • None of the above
  9. 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
    • ClipControls
    • UseMnemonic
    • LinkMode
    • Locked
    • Label
    • ZOrder
    • Visible
  10. Which of the following is the only drag related event?
    • DragEnter
    • DragLeave
    • DragStart
    • DragStop
    • DragDrop
    • BeginDrag
    • EndDrag


Leave a comment

Name: (Required)

eMail: (Required)

Website:

Comment: