Related Questions
What is the correct answer?
4
In visual basic you can draw something in
What is the correct answer?
4
It is possible to declare 'Dynamic Array' in visual basic.
What is the correct answer?
4
To draw a form on the screen which event is being called up
What is the correct answer?
4
Sorted property of list box control is a design time property and cannot be changed in runtime.
What is the correct answer?
4
Flag property is used to adjust the function of each common dialog box
What is the correct answer?
4
It is possible to change the password character property of text box control at run time.
What is the correct answer?
4
CommonDialog1.ShowOpen
Filename1=CommonDialog1.Filename
The above code will
A. Set the filename1 by the selected filename from the common dialog contol.
B. First displays the open dialog box and let the user select any file from any
C. location and then set the filename1 by the selected filename.
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
What is the correct answer?
4
Redim statement is used to :
What is the correct answer?
4
what will be the output of the code below :
private sub command_click()
dim I as integer
I=0
Do
Print I
Loop until I>10
End sub
A. it will generate compile time error
B. it will generate runtime error
D. 0 1 2 3 4 5 6 7 8 9 10
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
Through which property of option button control one can change the font color of the caption.
What is the correct answer?
4
Terminate is a valid event in form operation
What is the correct answer?
4
DocumentForm() it is
A. A function of MDI forms
B. An array of forms using as child into MDIform
What is the correct answer?
4
To enable apply button in dialog box ; flag value should be set to
What is the correct answer?
4
When using do loop-while statement then the statements within the loop body will be executed only once if the condition does not fulfilled
What is the correct answer?
4
Function Add(Num1 as integer, Num2 as integer) as integer
Add=Num1+Num2
Num1=0
Num2=0
End function
This body is an example of calling up a function by:
What is the correct answer?
4
To get the property window in visual basic you have to press :
What is the correct answer?
4
If there is a control array of label for 10 elements, then what will be the fifth element in the array?
What is the correct answer?
4
The default startup object can not be changed in a project
What is the correct answer?
4
It is possible to access a menu without using mouse, to access the menu ;pressing the Ctrl key and the letter assigned to access the menu
What is the correct answer?
4
Activate event is called before load event
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
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
What is the correct answer?
4
Constants are processed faster than variables :
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
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
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
What is the correct answer?
4
One can change or read the alignment of one or more paragraph of rich text box control through
A. Text Alignment property
What is the correct answer?
4
CommonDialogs control is visible at runtime