VB Interview Questions
Job interviews are always stressful and they are tough enough to make fresher and even experienced one feel nervous and scary of the interview. Technical-interviews.com has been developed to help students and jobseekers to prepare for the tough job interview questions shot at them. Review the job interview questions and answers on networking basics, load runner, winrunner, .net, vb, java, oracle and many more common job interview questions online here. You have just made the first step to build the foundation for a successful interview by reviewing Technical-interviews.com.
VB Interview Questions
- 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
VB Interview Questions 2
- 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
VB Interview Questions 3
- 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
VB Interview Questions 4
- 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
VB Interview Questions 5
- 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?
- Cursor Type
- User Name