Select Category 
 

Visual Basic 6 Interview Questions Answers

Visual Basic 6 Interview Question - 1 : -

Describe Database Connection pooling (relative to MTS )?

Visual Basic 6 Interview Answer - 1 : -

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.
 

Visual Basic 6 Interview Question - 2 : -

What is Mixed Cursors?

Visual Basic 6 Interview Answer - 2 : -

Static + Keyset
 

Visual Basic 6 Interview Question - 3 : -

What is the starting Index value? How to locate it?

Visual Basic 6 Interview Answer - 3 : -

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
 

Visual Basic 6 Interview Question - 4 : -

Suppose from form1 to form2 object property settings will arise to ?

Visual Basic 6 Interview Answer - 4 : -

Invalid procedure call or argument (Run time error 5)
 

Visual Basic 6 Interview Question - 5 : -

Name the four different cursor types in ADO and describe them briefly.

Visual Basic 6 Interview Answer - 5 : -

The cursor types are listed from least to most resource intensive.Forward Only Fastest, can only move forward in recordset Static Can move to any record in the recordset. Data is static and never changes.KeySet Changes are detectable, records that are deleted by other users are unavailable, and records created by other users are not detectedDynamic ? All changes are visible.
 

Visual Basic 6 Interview Question - 6 : -

How to increase the Date corresponding with month,date,year?

Visual Basic 6 Interview Answer - 6 : -

DateSerial(year(Now),Month(Now)+1,1)
Hour, min, sec, month, year, DateSerial, dateadd, datediff, weekday, datevalue, timeserial,timevalue.
 

Visual Basic 6 Interview Question - 7 : -

What is view Port?

Visual Basic 6 Interview Answer - 7 : -

The area under which the container provides the view of the ActiveX Document is known as a view port.
 

Visual Basic 6 Interview Question - 8 : -

Can us able to set Instancing properties like Singleuse, GlobalSingleuse to ActiveXDll?

Visual Basic 6 Interview Answer - 8 : -

No.
 

Visual Basic 6 Interview Question - 9 : -

what will be the result for 15/4 and 154 ?

Visual Basic 6 Interview Answer - 9 : -

15/4 = 3.75 and 154 = 3
 

Visual Basic 6 Interview Question - 10 : -

How can we call Stored procedure of Back End in RDO and ADO ?

Visual Basic 6 Interview Answer - 10 : -

In RDO We can call using RDO Query Objects.
In ADO We can call using Command Objects.

 

 

Visual Basic 6 Interview Question - 11 : -

What are types of binding?

Visual Basic 6 Interview Answer - 11 : -

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
 

Visual Basic 6 Interview Question - 12 : -

Event Handler in Visual Basic?

Visual Basic 6 Interview Answer - 12 : -

When we act on a control then an event is fired. VB tells which action you want to perform. For doing this we have to write the code on key event of the control. this code is called event handler. 

 

Visual Basic 6 Interview Question - 13 : -

What are properties available in Clip Board?

Visual Basic 6 Interview Answer - 13 : -

No Properties Available. Only the methods they are SetText, GetText, Setdata(), Getformat(), Clear.
 

Visual Basic 6 Interview Question - 14 : -

What is Collection Objects?

Visual Basic 6 Interview Answer - 14 : -

Similarly to arrays but is preferred over an array because of the following reasons.
1. A collection objects uses less Memory than an array.
2. It provides methods to add and delete members.
3. It does not required reason statement when objects are added or deleted.
4. It does not have boundary limitations.
 

Visual Basic 6 Interview Question - 15 : -

What are the different types of error?

Visual Basic 6 Interview Answer - 15 : -

Syntax Errors, Runtime , Logic.