-
-
-
What is the return type of Instr and Strcmp?
Instr – integer (Numeric position)Strcmp - integer ( if both the string are equal they result = 0) Strcmp (Str1, Str2, Comparetype) Comparing mode = 0 – Binary Comparing 1 – Textual Comparing
-
-
-
-
-
What is the max size allowed for Extension in Visual Basic
Frm, bas, cls, res, vbx, ocx, frx, vbp, exe
-
What is frx?
When some controls like grid and third party control placed in our application then it will create frx in run time.
-
Name some date function
Dateadd(), Datediff(), Datepart(), Cdate()
-
What is keyword used to compare to objects?
ISOperator – Returns Boolean.
-
What is the diff. Between function and sub procedures
) Function will return value but a sub procedure wont return values…
-
Where will we give the option explicit keyword and for what?
In the general declarations section. To trap undeclared variables.
-
What is the difference between Property Get, Set and Let?
Set – Value is assigned to ActiveX Object from the form. Let – Value is retried to ActiveX Object from the form. Get- Assigns the value of an expression to a variable or property.
-
Drag and Drop state numbers and functions?
State 0 – Source control is being dragged with the range of a target. 1 – Out of the range of a target. 2 – One position in the target to another.
-
-
What is control array and how many we can have it with in the form?
Group of control share the same name. Max 32, 767.
-
Suppose from form1 to form2 object property settings will arise to ?
Invalid procedure call or argument (Run time error – 5)
-
Different type of Instantiation?
Private – Only for the Specific Module. Public not creatable – Private & Public Multi Use - Variable we have to declare. Single Use – Not possible through dll. Global Multiuse – Have variable not Required to Declare. Global Single Use - Only for exe.
-
How to declare Dll Procedure?
Declare function "<Function Name>" lib "<Lib Name>" Alias "<Alias Name>" (Arg, …..) as Return type.
Visual Basic Interview Questions
Ans