Related Questions
What is the correct answer?
4
Which property of list box control reports the number of selected items.
What is the correct answer?
4
What will be the output when the statements below will execute :
Dim a as integer
a=0
while(a<5)
print a
a=a+1
end
A. It will generate the output like 0 1 2 3 4
B. It will generate a runtime error
C. It will generate a compiler error
D. It will display nothing
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
It is possible in visual basic to specifying array limit like from 1 to 10
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
Print' statement can be used to print any statement on the screen.
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
In visual basic Bool variable stores
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
If you want a list box control with check box option, which property of list box control you will have to change.
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
It is possible to change the password character property of text box control at run time.
What is the correct answer?
4
To get the property window in visual basic you have to press :
What is the correct answer?
4
IsDate() function returns true if its argument is a valid date and time
What is the correct answer?
4
The title of the dialog box can be changed.
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
When someone uses the code like list1.list(1); then it will return the first item of the list box control.
What is the correct answer?
4
In a text box control the default caption for text box is text1.
What is the correct answer?
4
In database application, any field does not contain any values can be recognized by:
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
Redim statement is used to :
What is the correct answer?
4
It is possible to declare 'Dynamic Array' in visual basic.
What is the correct answer?
4
The other Single Document Interface forms are by default child of MDI form when MDI form is inserted.
What is the correct answer?
4
There are _________________ no. of built in windows dialog boxes provided by common dialogs control.
What is the correct answer?
4
Time variable is used to store date and time in visual basic
What is the correct answer?
4
In visual basic the default unit is :
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
The maximum length of a variable is _____________ characters.
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
Time() function is used to recover date & time.