Home
Current Affairs January 2024

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

Correct Answer :

B. WordWrap


Related Questions

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

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

A. True

B. False

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

What is the correct answer?

4

To make a button the default button, this property of the form must be set

A. DefaultButton

B. AcceptButton

C. DialogResult

D. None of the above

What is the correct answer?

4

Function abc() As String
Return 10
End Function

A. Will produce compilation error

B. Will produce runtime error

C. The function will execute normally

D. None of the above

What is the correct answer?

4

To redimension an array with its previous values intact use ___________ keyword

A. RedimPreserve

B. Preserve

C. Redim

D. Redim Preserve

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

In ADODB the _____________ property is used to connect to the table

A. RecordSet

B. DataSource

C. RecordSource

D. Connection

What is the correct answer?

4

A TreeView can have multiple root nodes

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

To use HelpProvider, the following properties of the form needs to be set

A. HelpButton

B. MaximizeBox

C. MinimizeBox

D. All of the above

What is the correct answer?

4

A user wants that custom colors are visible when the Color Dialog Box is first Opened. What should he do?

A. Set AllowFullOpen to True

B. Set AnyColor to True

C. Set Open to True

D. Set FullOpen to True

What is the correct answer?

4

Images can be loaded from

A. Images.FromFile

B. BitMap.FromFile

C. System.FromFile

D. Both a and b

What is the correct answer?

4

A single LinkLabel can support multiple links

A. True

B. False

What is the correct answer?

4

On error goto lbl is a

A. Structured error

B. Unstructured error

What is the correct answer?

4

A form can have only one default button

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

___________ 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

VB.NET supports Multi Level Inheritance

A. True

B. False

What is the correct answer?

4

In OLEDB database can be accessed without using DataSet

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

We need multiple ErrorProviders from multiple controls.

A. True

B. False

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

If nothing is selected in a combo box, its index value is

A. -1

B. 0

C. 1

D. Null

What is the correct answer?

4

________ converts to long datatype

A. Clong

B. CLng

C. Lng

D. None of the above

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

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

Data from DataSet is accessed using34

A. Binding Obejct

B. BindContext Object

C. BindingContext Object

D. EndCurrentEdit Object

What is the correct answer?

4

A single OLEDBAdapter can have many DataSets

A. True

B. False

What is the correct answer?

4

A Windows Service if installed cannot be uninstalled

A. True

B. False