Home
Current Affairs January 2024

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

Correct Answer :

D. Both a and b


Related Questions

What is the correct answer?

4

A single LinkLabel can support multiple links

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

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 Option Explicit is on then Dim i as Integer="10" will produce an error

A. True

B. False

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

________ converts to long datatype

A. Clong

B. CLng

C. Lng

D. None of the above

What is the correct answer?

4

To view Panels of a StatusBar set _________ to true

A. Panel

B. Panels

C. ShowPanel

D. ShowPanels

What is the correct answer?

4

PasswordChar property of a TextBox can accept " " (space) as the password char

A. True

B. False

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

___________ 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 form call another form and the caller form is closed through code, then both forms are disposed

A. True

B. False

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

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

A. True

B. False

What is the correct answer?

4

A Windows Service if installed cannot be uninstalled

A. True

B. False

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

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

Structured and Unstructured exceptions can't be mixed

A. True

B. False

What is the correct answer?

4

A MsgBox can have maximum ___________ button(s)

A. 1

B. 2

C. 3

D. 4

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

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

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

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

The default event handler of TextBox is

A. KeyPress

B. Changed

C. TextChanged

D. Validating

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

Using MyBase you can call base class

A. Constructor

B. Method

C. Variables

D. All of the above

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

You can assign a Main Menu to any control

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

A DataSet can hold multiple tables even if there are similar fields

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