Home
Current Affairs January 2024

What is the correct answer?

4

In visual basic you can draw something in

A. Picture box control.

B. Image control.

C. Shape control.

Correct Answer :

A. Picture box control.


Related Questions

What is the correct answer?

4

Terminate is a valid event in form operation

A. True

B. False

What is the correct answer?

4

_____________ property of any control cannot change at run time.

A. color

B. name

C. caption

What is the correct answer?

4

It is possible to insert a picture in a option button control.

A. True.

B. False

What is the correct answer?

4

The default startup object can not be changed in a project

A. True

B. False

What is the correct answer?

4

It is possible in visual basic to specifying array limit like from 1 to 10

A. True

B. False

What is the correct answer?

4

In a programme body :
Private sub form_load()
X=inputbox("First No. :")
Y=inputbox("Second No. :")
Z=val(X) +val(Y)
Print Z
End sub
What will be the output ?

A. The summation of two numbers given in two input box

B. It will show the numbers given in the input box side by side

C. It will show nothing

D. None of the above

What is the correct answer?

4

In visual basic the default unit is :

A. centimeter.

B. Inch.

C. Dpi.

D. Twips .

What is the correct answer?

4

The arrange property of MDI form is available at design time.

A. True

B. False

What is the correct answer?

4

While running an application you can change the value of any variable and see it's effect through ___________ window.

A. intermediate

B. Immediate

C. current

What is the correct answer?

4

In timer control _____________ is the most important property.

A. Interval.

B. Front

C. backcolor

What is the correct answer?

4

RichTextBox1.BulletIndent=5 ; what will be the effect of this code if used in any program

A. It will set the bulleted indentation by the specified value

B. It will create a list of bullet of 5 items

C. All of the above

What is the correct answer?

4

when using 'do until-loop' statement as stated below
I=10
Do until I>5
Print I
I=I+1
Loop
This statement will print

A. it will generate a run time error

B. no output will be shown

C. 10 11 12 13 14 15

D. none of the above

What is the correct answer?

4

Visual Basic produce:

A. 3 types of executable code.

B. 2 types of executable code.

C. 4 types of executable code

D. none of the above.

What is the correct answer?

4

It is possible to change the password character property of text box control at run time.

A. True

B. False

What is the correct answer?

4

Print' statement can be used to print any statement on the screen.

A. True

B. False

What is the correct answer?

4

There are _________________ no. of built in windows dialog boxes provided by common dialogs control.

A. 6

B. 7

C. 8

D. 9

What is the correct answer?

4

CommonDialogs control is visible at runtime

A. True

B. False

What is the correct answer?

4

Suppose there is a data control named data1. What will be the effect if the following code is inserted

A. Data1.recordset.movefirst

B. The record pointer will move to the first record of the record set

C. The pointer will move to the first record of the original table that contains the data

D. It will refresh the recordset

What is the correct answer?

4

If the user wants to select the multiple files from file open and filesave dialog boxes then the flag must be set to

A. cdlOFNMultiselsectAllow

B. cdlOFNAllowMultiselect

C. It is not possible to select more than one file at a time

D. None

What is the correct answer?

4

To get the property window in visual basic you have to press

A. F6

B. F3

C. F4

D. F5

What is the correct answer?

4

ABS() function will generate a hole value when used with a number with fraction part (ex: 125.26598)

A. True

B. False

What is the correct answer?

4

To run an application you have to press :

A. F3

B. F6

C. F5

D. F7

What is the correct answer?

4

Sorted property of list box control is a design time property and cannot be changed in runtime.

A. True

B. False

What is the correct answer?

4

cell alignment property can be used to align the cells with different alignment style

A. True

B. False

What is the correct answer?

4

To add the commondialog control to any project one has to include it from

A. File menu->component->Microsoft Common Dialog Control 6.0

B. Project menu->Component-> Microsoft Common Dialog Control 6.0

C. Component menu->project-> Microsoft Common Dialog Control 6.0

D. None of the above

What is the correct answer?

4

In database application, any field does not contain any values can be recognized by:

A. Nothing value.

B. Null value.

C. Error value.

D. Empty value.

What is the correct answer?

4

Function can return array as return value:

A. True

B. False

What is the correct answer?

4

Suppose there are two forms; form1 and form2 ; if there are codes like : In form1.active event
Form2.show
And in form2.active event
Form1.show
Then what will be the output ?

A. Two forms will be just showed.

B. Two forms will be showed and the control will passed continuously to each other.

C. Nothing will be displayed

D. None of the above.

What is the correct answer?

4

If you want a list box control with check box option, which property of list box control you will have to change.

A. Check box property

B. Check style property

C. Style property

D. None

What is the correct answer?

4

It is possible to pass different number parameters to a function when call the function on different time.

A. To do this one can use in the parameter list of that function

B. paramarray keyword with the array declaration

C. argument should be passed as array

D. none of the above