• +91 9971497814
  • info@interviewmaterial.com

Computer Interview Questions Answers

Visual Basic 6 Interview Questions Answers

Question - 1 : - What are the different ways to Declare and Instantiate an object in Visual Basic 6?

Answer - 1 : - Dim obj as OBJ.CLASS with eitherSet obj = New OBJ.CLASS orSet obj = CreateObject(OBJ.CLASS?) orSet obj = GetObject( , OBJ.CLASS?)orDim obj as New OBJ.CLASS

Question - 2 : - Name the four different locking type in ADO and describe them briefly.

Answer - 2 : - LockPessimistic Locks the row once after any edits occur.LockOptimistic Locks the row only when Update is called.LockBatchOptimistic Allows Batch Updates.LockReadOnly Read only. Can not alter the data.

Question - 3 : - Where will we give the option explicit keyword and for what?

Answer - 3 : - In the general declarations section. To trap undeclared variables.

Question - 4 : - What methods are used for DBGrid in unbound mode?

Answer - 4 : - AddData, EditData, Readdata, WriteData.

Question - 5 : - Suppose from form1 to form2 object property settings will arise to ?

Answer - 5 : - Invalid procedure call or argument (Run time error 5)

Question - 6 : - To connect the Data Control with Back end What are all the properties to be set?

Answer - 6 : - Data source Name, Record Source Name

Question - 7 : - What is Dataware Control?

Answer - 7 : - Any control bound to Data Control. Ex:- Textbox, Check Box, Picture Box, Image Control, Label, List box, Combo Box, DB Combo,

Question - 8 : - What is the max size allowed for Max Text box length.

Answer - 8 : - 32,000

Question - 9 : - How do you register a component?

Answer - 9 : - Compiling the component, running REGSVR32 MyDLL.dll

Question - 10 : - Describe Database Connection pooling (relative to MTS )?

Answer - 10 : - This allows MTS to reuse database connections. Database connections are put to sleep as opposed to being created and destroyed and are activated upon request.

Computer Contributors

krishan
Rajeev Katiyar
Yes Baroda

Share your email for latest updates

Name:
Email:

Our partners