adoce connection object can't be created

I have a hp jornada 720 running windows ce 2000, I am using embedded vb 3.0 and I am trying to

execute the code:

Private Sub Form_Load()
Dim Cn As Connection
Set Cn = CreateObject("ADOCE.Connection.3.1")
End Sub

under the project - references menu I have the following references selected:
Microsoft CE ADO Control 3.1
Microsoft CE ADO Ext. 3.1 for DDL
Microsoft CE Comm Control 3.0

HOWEVER - when I try to run this on my little jornada - I get the following error:
An error was encountered while running this program: ActiveX component can't create object

Any ideas???

Please help!!!


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!