Related Questions
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
What is the default value of MaxLength property of text box control?
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
In runtime it is not possible to change the form size.
What is the correct answer?
4
It is possible to declare 'Dynamic Array' in visual basic.
What is the correct answer?
4
Sort is a method by which elements can be sorted in flexgrid control
What is the correct answer?
4
CommonDialogs control is visible at runtime
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
Now() function will return the current drive and directory you are working on as return value.
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
There are _________________ no. of built in windows dialog boxes provided by common dialogs control.
What is the correct answer?
4
which control structure are working under false condition
A. do-while loop & do loop-while
C. do-while loop & while wend loop
D. do-until loop & do loop-until
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
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
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
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
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
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
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
To get the property window in visual basic you have to press
What is the correct answer?
4
Redim statement is used to :
What is the correct answer?
4
The title of the dialog box can be changed.
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 visual basic the default unit is :
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
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
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
Currency variable stores fixed point numbers with :
What is the correct answer?
4
In visual basic, number of loop control structure is _____________.
What is the correct answer?
4
The other Single Document Interface forms are by default child of MDI form when MDI form is inserted.