Searching for "If"

Q:

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

Answer

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 

Report Error

View answer Workspace Report Error Discuss

Q:

What is the difference between dao,rdo and ado explain simply ?

Answer

DAO (Data access object ) is used for accessing data before ado it was used for database installed on same sys where the application resides.


RDO (Remote data object ) is used for accessing remote data


ADO (Active data object ) most powerful till date it is nothing but combination of both DAO and RDO 

Report Error

View answer Workspace Report Error Discuss

Q:

Difference between DDE and OLE?

Answer

DDE (Dynamic Data Exchange) a communication protocol that let applications call each other.


OLE was the first protocol that enabled users and programmers to create compound documents?that is documents that contain data from different applications (for example an Excel worksheet inside a Word document).

Report Error

View answer Workspace Report Error Discuss

Q:

What is the difference between ADODC and ADODB?

Answer

- When u build connection with database through coding, then its ADODB.When u build connection with database through ADO component, then its ADODC.


- ADODB is a ActiveXdll and ADODC is a ActiveXcontrol.


- No Need to bind with controls in ADODB whereas in ADODC we should bind with controls.

Report Error

View answer Workspace Report Error Discuss

Q:

What is the difference between Listview and Treeview?

Answer

Tree view control is designed to display data that is hierarchical in nature, such as organization trees, the entries in an index, the files, directories on a disk. It is often used in conjuction with the List view control, which is used to display the contents of the folder selected in the tree view.


List view control displays data as listitem objects. The control excels at representing subsets of data or discrete objects.The list view property is often used in association with a tree view control.

Report Error

View answer Workspace Report Error Discuss

Q:

How can you have different number of cells for each row of a table?

Answer

By setting the columnSpan property for cells of each row as required.

Report Error

View answer Workspace Report Error Discuss

Q:

What are the difference between in-stream procedure and inline procedure in JCL ?

Answer

An in-stream PROC is defined right in the jcl stream and doesn't reside in the proclib. This is an older technique associated with punched cards but it is still in use with setup and installation programs from vendors.


for the in-line perform instead of:


perform add-paragraph until switch = 'y'


you can code


perform until switch = 'y'


body of code


end-perform


body of code is the code from add-paragraph appearing in-line (ie right in the perform) instead of in a separate paragraph (out of line code)

Report Error

View answer Workspace Report Error Discuss

Q:

What are the different types of VSAM files available?

Answer

ESDS: Entry Sequence Data Set


KSDS: Key Sequence Data Set


RRDS: Relative Data Set

Report Error

View answer Workspace Report Error Discuss