Home
Current Affairs January 2024

What is the correct answer?

4

To display multiple columns in ListView the View property must be set to

A. SmallIcon

B. LargeIcon

C. Details

D. List

Correct Answer :

C. Details


Related Questions

What is the correct answer?

4

A Windows Service if installed cannot be uninstalled

A. True

B. False

What is the correct answer?

4

A DataSet can be updated only when the connection is open

A. True

B. False

What is the correct answer?

4

This property of TrackBar is not present

A. TickStyle.Both

B. TickStyle.None

C. TickStyle.TopLeft

D. TickStyle.BottomLeft

What is the correct answer?

4

A TreeView can have multiple root nodes

A. True

B. False

What is the correct answer?

4

DataSet can be used to connect to Crystal Report

A. True

B. False

What is the correct answer?

4

The EventLog's ________ method is used to write an entry to a log file

A. WriteLine

B. WriteEntry

C. Add

D. Append

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

To override Finalize function the scope of the function must be

A. Private

B. Public

C. Protected

D. Static

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

Two commands can be written in the same line using

A. :

B. ;

C. ,

D. .

What is the correct answer?

4

ScrollBars can be added to

A. Panel

B. GroupBox

C. Both a and b

D. None of the above

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 DataSet can hold multiple tables even if there are similar fields

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

To vertically arrange all forms in an MDI form use

A. Me.Layout(MdiLayout.TileVertical)

B. Me.MdiLayout(MdiLayout.TileVertical)

C. Me.LayoutMdi(MdiLayout.TileVertical)

D. Nothing is required because default is Vertical

What is the correct answer?

4

While handling keystrokes if e.Handled=True is set then Visual Basic

A. Will handle the key

B. Will not handle the key

C. Will send the key to Garbage collector

D. None of the above

What is the correct answer?

4

In reports ___________ property help to assign user-defined criteria

A. ReportSource

B. SectionFormula

C. Query

D. SelectionFormula

What is the correct answer?

4

A single OLEDBAdapter can have many DataSets

A. True

B. False

What is the correct answer?

4

Only derived class can have shadows keyword

A. True

B. False

What is the correct answer?

4

A thread can be started only once

A. True

B. False

What is the correct answer?

4

To call a buttons click event use

A. Button1.Click

B. Button1.PerformClick

C. Button1.Clicked

D. None of the above

What is the correct answer?

4

/*1. OleDataAdapterq1.update(DataSet1,"emp")
2. OleDataAdapterq1.update(DataSet1,"std")
3. DataSet1.Merge(DataSet1)
4. DataSet1.AcceptChanges()
/* The error is in line

A. 2

B. 4

C. 3

D. No Error

What is the correct answer?

4

If Option Explicit is on then Dim i as Integer="10" will produce an error

A. True

B. False

What is the correct answer?

4

The default Tab of a Tab Control is

A. The first tab

B. The last tab added

C. The last tab modified

D. There is no default tab.

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

To add controls at runtime use

A. Controls.New

B. Controls.AddNew

C. Controls.Add

D. Controls.AddItem

What is the correct answer?

4

DomainUpDown control is used only for strings and NumericUpDown for numbers.

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

Application.StartupPath actually points to

A. //ProjectName

B. //ProjectName/Bin

C. //ProjectName/Debug

D. //ProjectName/Bin/ProjectName.exe

What is the correct answer?

4

Dim S as Integer=10
Text1=S
Msgbox(Text1.Text)

A. Will return error

B. Will return 10

C. Will return 0

D. Will return Null