Home
Current Affairs January 2024

What is the correct answer?

4

The correct sequence of Form Loading is

A. Load

B. Initialize, Load, Activate

C. Initialize, Activate, Load

D. Activate, Initialize Load

Correct Answer :

B. Initialize, Load, Activate


Related Questions

What is the correct answer?

4

Class cc
public _________ I as string
end class
Button1_Click
cc.I=100

A. Share

B. Shared

C. Global

D. Static

What is the correct answer?

4

VB.NET does not support control arrays

A. True

B. False

What is the correct answer?

4

In TreeView to get the node the mouse is pointing to, use

A. GetNode

B. Node

C. GetNodeAt

D. SelectNode

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

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 event handler of TextBox is

A. KeyPress

B. Changed

C. TextChanged

D. Validating

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

To uninstall a Windows Service ____________ is use

A. Installutil -I

B. Installutil -e

C. Installutil -u

D. Installutil -d

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

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 get details about an error use

A. Err.Message

B. Err.Desc

C. Err.Description

D. Err.Number

What is the correct answer?

4

The SelectionMode property of a CheckedList Box can be set only to

A. One

B. MultiSimple

C. MultiExtended

D. None of the abvove

What is the correct answer?

4

A TreeView can have multiple root nodes

A. True

B. False

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

If a Class in inherited, its constructor is inherited automatically and it is fired automatically

A. True

B. False

What is the correct answer?

4

The default location of the exe file of your solution is

A. ..../Project folder name

B. .../Project folder name/Bin

C. .../Project folder name/Debug

D. .../Project folder name/Debug/Bin

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

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

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

A. True

B. False

What is the correct answer?

4

A form can not call itself

A. True

B. False

What is the correct answer?

4

Structured and Unstructured exceptions can't be mixed

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

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

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

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

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

What cannot be done if the table has no primary key

A. Insert and Update

B. Update and Delete

C. Select and Delete

D. Insert and Select