Hi Everybody
I am tring to connect the vb code to ms access databse using ADO method.
and its gives the Compile Error : user defined Data type is not defined.
i have declared the following and complier highlights the declaration.

Dim cn As ADODB.Connectio n

Dim cmd As ADODB.Command

please help
Nee123