Home
Current Affairs January 2024

What is the correct answer?

4

To get details about an error use

A. Err.Message

B. Err.Desc

C. Err.Description

D. Err.Number

Correct Answer :

C. Err.Description


Related Questions

What is the correct answer?

4

This view pops up if "Ctrl+F1" is pressed

A. Help

B. Properties Window

C. Dynamic Help

D. Server Explorer

What is the correct answer?

4

In Class, Me.Show and MyClass.Show are same (Show is method name)

A. True

B. False

What is the correct answer?

4

The default event handler of TextBox is

A. KeyPress

B. Changed

C. TextChanged

D. Validating

What is the correct answer?

4

A Class can inherit both Class and Interface at a time

A. True

B. False

What is the correct answer?

4

VB.NET supports Multi Level Inheritance

A. True

B. False

What is the correct answer?

4

For the same class "Me" and MyBase" are same

A. True

B. False

What is the correct answer?

4

___________ is used to pass copies of a variable while __________ is used to pass address of a variable.

A. Byval, Byref

B. Byref, Byval

C. Any one of the above

D. None of the above

What is the correct answer?

4

If a Label control's AutoSize property is set to True, can you resize the control

A. Yes

B. No

What is the correct answer?

4

If a button click event is to be fired when the user press the 'Esc' key, set the buttons name against forms _________ property

A. DefaultButton

B. AcceptButton

C. DialogResult

D. CancelButton

What is the correct answer?

4

If MustOverride is used then ____________ is also a must.

A. Overridable

B. Inherits

C. MustInherit

D. None of the above

What is the correct answer?

4

A single OLEDBAdapter can have many DataSets

A. True

B. False

What is the correct answer?

4

This view is not present in VB.NET

A. Project Explorer

B. Class View

C. Resource View

D. Server Explorer

What is the correct answer?

4

You can assign a Main Menu to any control

A. True

B. False

What is the correct answer?

4

When a project is Built it creates a _______ and ________ file under Bin directory

A. .exe, .sln

B. .exe, .dll

C. .dll, .sln

D. .exe, .ocx

What is the correct answer?

4

In TreeView to collapse all the nodes of a selected node ___________ method is used

A. CollapseAll

B. Collapse

C. Any one of the above

D. None of the above

What is the correct answer?

4

The Apply button automatically appears of the Font Dialog Box is opened

A. True

B. False

What is the correct answer?

4

If a Form is Inherited from another Form and both Forms have certain codes in their respective Form_Load event, then while running the program

A. Only the first Forms code will be executed

B. Only the second Forms code will be executed

C. Both Forms code will be executed

D. None of the above

What is the correct answer?

4

A thread can be started only once

A. True

B. False

What is the correct answer?

4

If an user-defined class have a user-defined event then, the class object is declared as

A. Dim c as new ClassName

B. Dim withEvents c as new ClassName

C. Dim c as ClassName

D. Dim withEvents c as ClassName

What is the correct answer?

4

A single LinkLabel can support multiple links

A. True

B. False

What is the correct answer?

4

To add items stored in an array to a ListView use

A. List1.Add(name of the array)

B. List1.AddItem(name of the array)

C. List1.Items.Add(name of the array)

D. List1.Items.Addrange(name of the array)

What is the correct answer?

4

You create a UserControl having a TextBox and include that in a separate Form. Can you use all the properties of the TextBox in the UserControl from that Form?

A. Yes

B. No

What is the correct answer?

4

/*1. Class C
2. public notoverridable sub abc()
3. msgbox("Base Class")
4. end sub
5. end Class /* The Error in Line No.

A. 2

B. 3

C. 4

D. No Error

What is the correct answer?

4

The name of the IDE window that allows you to see the hierarchical arrangement of the files in your project is

A. Server Explorer

B. Project Explorer

C. Solution Explorer

D. None of the above

What is the correct answer?

4

_________ actually updates the values in a DataSet permanently

A. OleDataAdapterq1.update(DataSet1,"emp")

B. DataSet1.Merge(DataSet1)

C. DataSet1.AcceptChanges()

D. DataSet1.Update()

What is the correct answer?

4

A form can have only ______ Main Menu and _________ Context Menu

A. 1,1

B. 1,Multiple

C. Multiple,1

D. 1,2

What is the correct answer?

4

Dim a() as Integer-{1,2,3,4}is a valid statement

A. True

B. False

What is the correct answer?

4

To get details about an error use

A. Err.Message

B. Err.Desc

C. Err.Description

D. Err.Number

What is the correct answer?

4

If Scrollbars property of a TextBox is set to Hortizontal and the WordWrap property is also set to true. Which one will get precedence

A. Scrollbars

B. WordWrap

C. No precedence both will work

What is the correct answer?

4

If you want to open a file named "a.txt" use

A. System.diagnostics.Start("a.txt")

B. System.Start("a.txt")

C. System.diagnostics.Process.Start("a.txt")

D. System.Process.Start("a.txt")