VB Interview Questions
9 Apr, 2007
- 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
- Description
- CompName
- Component
- Source
- Text
- Desc
- None of the above
- If the Cancel Error 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
- A compile time error occurs
- The program executes without any error
9 Apr, 2007
- A project group is a Project which:
- Consists of several Programs
- Consists of several Applications
- Consists of Various Forms And Code Modules
- Consists of several Projects
- Procedures declared in a _____ are local whereas procedures declared in a ______ are available to the whole application.
- Form window, standard or code module
- Project window, view code window
- Class module, code module
- How can you keep the user from exiting a form by clicking the Close button?
- Place code in the Terminate event
- Place code in the Unload event
- Place code in the QueryUnload event
9 Apr, 2007
- Which event is triggered when the user moves to another open form?
- Unload
- QueryUnload
- Deactivate
- Terminate
- Load
- Initialize
- Repaint
- Resize
- Which event of an ActiveX control data provider runs every time a bound control extracts data through the provider?
- GetDataMember
- GetDataField
- GetDataProperty
- GetDataRow
- GetData
- GetFields
- GetRows
- RetrieveData
- Which of the following are not properties of Command Button:
- Caption
- Visible
- Multi-Line
- Font
- Name
- Bold
- Tag
- Enabled
9 Apr, 2007
- 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
- When a form designer containing a control is closed
- When a form is run
- When a compiled application containing a control executes
- When an application terminates and re-enters design-time for the host application
- Which event occurs only once in the entire life cycle of an ActiveX control?
- Initialize
- Resize
- Terminate
- WriteProperties
- InitProperties
- Activate
- None of the above
9 Apr, 2007
- 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
- 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
- Which of the following cannot be included in the Open method of the recordset?
Pages (5): « 1 [2] 3 4 5 »