Home
Current Affairs January 2024

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

Correct Answer :

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


Related Questions

What is the correct answer?

4

In visual basic you can draw something in

A. Picture box control.

B. Image control.

C. Shape control.

What is the correct answer?

4

When someone uses the code like list1.list(1); then it will return the first item of the list box control.

A. True

B. False

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

Visual Basic has ____________ number of editions

A. 3

B. 4

C. 5

D. 6

What is the correct answer?

4

Now() function will return the current drive and directory you are working on as return value.

A. True

B. False

What is the correct answer?

4

In a text box control the default caption for text box is text1.

A. True

B. False

What is the correct answer?

4

In form load event, if the following code is written then guess what will be the output :
Dim I as integer, J as integer
I=0
J=5
While I<J
Print I
I=I+1
Wend

A. output will be 0 1 2 3 4

B. No output, blank form will be shown

C. Compiler error

D. None

What is the correct answer?

4

To draw a form on the screen which event is being called up

A. Draw Event

B. Load Event

C. Paint Event

D. Either i or iii

What is the correct answer?

4

Min and Max property can be used with Font common dialog box to determine

A. To controlling dialog box size

B. The minimum and maximum size displayed in the size list

C. None of the above

What is the correct answer?

4

Redim statement is used to :

A. Rename a variable.

B. Rename an array.

C. Redimension an array.

What is the correct answer?

4

In visual basic Bool variable stores

A. 2 bytes

B. 1 bytes

C. 4 bytes

D. none of the above.

What is the correct answer?

4

Data1.Recordset.FindFirst "State=NY"
The above code will find the record in a given database

A. Find the first record in the given database

B. Find the first record in the given database in which the state is NY.

C. The above command will find a record very fast where the state is NY

D. None of the above

What is the correct answer?

4

To enable apply button in dialog box ; flag value should be set to

A. cdlCFApply

B. cdlcfTTOnly

C. cdcclHelpButton

D. None of the above

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

MDI form1.Arrange vbTileHorizontal; this code in a MDI form will

A. If there are more than one MDI form then arrange them all in horizontal manner

B. Tiles all child form in horizontal manner

C. Tiles the MDI form horizontally

D. None of the above.

What is the correct answer?

4

In visual basic 'Break' statement could be used along with "Select Case"

A. True

B. False

What is the correct answer?

4

What is the default value for multi-select property of list box control.

A. 1

B. 2

C. 0

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

The other Single Document Interface forms are by default child of MDI form when MDI form is inserted.

A. True

B. False

What is the correct answer?

4

The amount of text any one can place in text box is maximum 64 kb.

A. True

B. False

What is the correct answer?

4

IsDate() function returns true if its argument is a valid date and time

A. True

B. False

What is the correct answer?

4

which control structure are working under false condition

A. do-while loop & do loop-while

B. while-wend & for loop

C. do-while loop & while wend loop

D. do-until loop & do loop-until

What is the correct answer?

4

Sort is a method by which elements can be sorted in flexgrid control

A. True

B. False

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

In _______________ control you can get only drop-down list of the content but cannot add directly anything to that control.

A. text box

B. combo box

C. List Box Control

What is the correct answer?

4

In visual basic, number of loop control structure is _____________.

A. 4

B. 5

C. 6

D. 7

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

In case of visual basic, IDE means :

A. Internal Database Engineering.

B. Integrated Database Environment.

C. Integrated Development Environment.

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.