Visual Basic 6 Interview Questions and Answers
Question - 51 : - What is the starting Index value? How to locate it?
Answer - 51 : - It is tab control to place our controls with in the form in multiple sheets.
Index starts with 1.
And to identify If Tabstrip1.SelectedItem.
Index = 1 Then ..
End if
Question - 52 : - Suppose from form1 to form2 object property settings will arise to ?
Answer - 52 : - Invalid procedure call or argument (Run time error 5)
Question - 53 : - What is the return type of Instr and Strcmp?
Answer - 53 : - 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
Question - 54 : - What is Implicit?
Answer - 54 : - Instance of specific copy of a class with its own settings for the properties defined in that class.
Note: The implicitly defined variable is never equal to nothing.
Question - 55 : - What is Inprocess and Out of Process?
Answer - 55 : - Inprocess It will run with in the memory. ( Local Machine). Out of Process It will run out of the memory Normally in the server side.
Question - 56 : - Where will we give the option explicit keyword and for what?
Answer - 56 : - In the general declarations section. To trap undeclared variables.
Question - 57 : - How can we call Stored procedure of Back End in RDO and ADO ?
Answer - 57 : - In RDO We can call using RDO Query Objects.
In ADO We can call using Command Objects.
Question - 58 : - What is Static Cursor?
Answer - 58 : - In ADO Snap Shot is called so.
Question - 59 : - How to check the condition in Msgbox?
Answer - 59 : - If(Msgbox("Do you want to delete this Record",VbYesNo)=VbYes)Then End if
Question - 60 : - What is control array and how many we can have it with in the form?
Answer - 60 : - Group of control share the same name. Max 32, 767.