Related Questions
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
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
List count property returns total number of items in list box control.
What is the correct answer?
4
Time() function is used to recover date & time.
What is the correct answer?
4
In runtime it is not possible to change the form size.
What is the correct answer?
4
Instr$(text1.text,"visual") will returns :
A. No. of times the string "visual" is present in the string in text1.text.
B. It puts the control where it finds the text "visual" in the string given in text1.text.
C. First occurrence of the text "visual" within the string given in text1.text
What is the correct answer?
4
It is possible to build an application without using any form:
What is the correct answer?
4
You can get the ASCII value of any character or number by using
C. There is no function to get the ascii value.
What is the correct answer?
4
What is the default value of MaxLength property of text box control?
What is the correct answer?
4
Which property of list box control reports the number of selected items.
What is the correct answer?
4
In visual basic you can draw something in
What is the correct answer?
4
_____________ property of any control cannot change at run time.
What is the correct answer?
4
Constants are processed faster than variables :
What is the correct answer?
4
CommonDialog control is the default control that anyone can find in the toolbar when a new project is started
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
The size of 'Boolean' data type is :
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
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.
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
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
What is the correct answer?
4
Delete method of the recordset of Data Control or Data Access Object is delete the record which is pointed out by the record pointer.
What is the correct answer?
4
To break a loop abnormally when satisfying a condition, we can use
C. Both i & ii could be used.
What is the correct answer?
4
If the Flag constant for the font common dialog box is cdlCFPrinterFonts then it causes the dialog box to show only the fonts supports by the printer specified by the hdc property
What is the correct answer?
4
Isnull(), IsEmpty() determines weather any variable has been initialize or not
What is the correct answer?
4
cell alignment property can be used to align the cells with different alignment style
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
In visual basic Bool variable stores
What is the correct answer?
4
Time variable is used to store date and time in visual basic
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
which should be included when an application is used without any forms