Visual Basic 6 Interview Questions and Answers
Question - 71 : - Name some date function?
Answer - 71 : - Dateadd(), Datediff(), Datepart(), Cdate()
Question - 72 : - What is difference between datagrid and flexgrid?
Answer - 72 : - Datagrid Editable. Flexigrid Non-Editable. (Generally used for Read only purpose.)
Question - 73 : - What are two validate with Data Control?
Answer - 73 : - Data_Validate, Data_Error.
Question - 74 : - To connect the Data Control with Back end What are all the properties to be set?
Answer - 74 : - Data source Name, Record Source Name
Question - 75 : - What are the Technologies for Accessing Database from Visual Basic?set?
Answer - 75 : - DAO, Data Control, RDO, ODBCDIRECT, ADO, ODBC API , 0040.
Question - 76 : - What is the diff between the Create Object and Get object?
Answer - 76 : - Create Object - To create an instance of an object.
Get Object To get the reference to an existing object.
Question - 77 : - What is Mask Edit and why it is used?
Answer - 77 : - Control. Restricted data input as well as formatted data output.
Question - 78 : - What is RdExecDirect?
Answer - 78 : - Bypasses the Creation of a stored procedure to execute the query. Does not apply to Oracle.
Question - 79 : - Different type of Passing Value?
Answer - 79 : - By value, By ref, Optional, Param Array. Note:- Optional keyword cannot be used while declaring arguments for a function using param array.
Question - 80 : - What are types of binding?
Answer - 80 : - Assigning variable with defined memory space.
Late Binding - Memory size is allotted in later stage.
Ex:- Dim x as object
Early Binding - Memory size is allotted while declaring itself. New Key word is important.
Ex:- Dim x as New Object