Hi there,
What is the difference between the following object declaration statements?

Dim cn as New Adodb.Connection

Dim cn as Adodb.Connection

Dim cn as object
Set cn = CreateObject("Adodb.Connection")

I mean to ask what happens internally in visual basic?

abhijit