VB-Visual Basic/Essentials of VB Sample Test,Sample questions

Question: How can you print the object name associated with the last VB error to the Immediate window?

1.Debug.Print Err.Number

2.Debug.Print Err.Source

3.Debug.Print Err.Description

4.Debug.Print Err.LastDLLError


Question: How can you print the object name associated with the last VB error to the Immediate window?

1.Debug.Print Err.Number

2.Debug.Print Err.Source

3.Debug.Print Err.Description

4.Debug.Print Err.LastDLLError


Question: What function does the TabStop property on a command button perform?

1.It determines whether the button can get the focus

2.If set to False it disables the Tabindex property.

3.It determines the order in which the button will receive the focus

4.It determines if the access key swquence can be used


Question: Which of the follwing contexts are available in the add watch window?

1.Project

2.Module

3.Procedure

4.All


Question: Which window will allow you to halt the execution of your code when a variable changes?

1.The call stack window

2.The immedite window

3.The locals window

4.The watch window


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!