Home
Current Affairs January 2024

What is the correct answer?

4

A form can have only one default button

A. True

B. False

Correct Answer :

A. True


Related Questions

What is the correct answer?

4

Get method is used to

A. Assign a value to an user control

B. Read value from an user control

C. Both of the above

D. None of the above

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

_________ 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

/*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

dim arr(10) as string,
the max index of the array is

A. 9

B. 10

C. Can be >10 also

D. None of the above

What is the correct answer?

4

To retrieve the default path of the project use

A. Application.Path

B. Application.DefaultPath

C. Application.StartupPath

D. Application.ProjectPath

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

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

Using ADODB multiple tables can be connected at a time

A. True

B. False

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

A form can have only one default button

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

Using MyBase you can call base class

A. Constructor

B. Method

C. Variables

D. All 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 single OLEDBAdapter can have many DataSets

A. True

B. False

What is the correct answer?

4

Set method is used to

A. Assign a value to an user control

B. Read value from an user control

C. Both 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

Default event handler of Splitter is

A. Splitter.Click

B. Splitter.Clicked

C. Splitter.Drag

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

To add controls at runtime use

A. Controls.New

B. Controls.AddNew

C. Controls.Add

D. Controls.AddItem

What is the correct answer?

4

Structured and Unstructured exceptions can't be mixed

A. True

B. False

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

In OLEDB database can be accessed without using DataSet

A. True

B. False

What is the correct answer?

4

InputBox by default returns ________ values

A. Integer

B. Byte

C. Double

D. String

What is the correct answer?

4

Finally is fired only when error occurs

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 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

________ converts to long datatype

A. Clong

B. CLng

C. Lng

D. None of the above

What is the correct answer?

4

In ListView the item that is currently selected is determined by

A. SelectedItem

B. Item

C. FocussedItem

D. GetSelected

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