I am using eMbedded Visual Basic and trying to develop an app on a pda. I am using the following code in the "click" event of a button on a form. I have already added the ADO reference. All I want to do is connect to an Access Database, but I keep getting ActiveX component can't create object. Any help would be GREATLY appreciated!!!! Thanks in advance.
Private Sub Command1_Click()
Dim connDatabase
Set connDatabase = CreateObject("ADOCE.Connection.3.0"
connDatabase.ConnectionString = "data source = D:\Pocket_PC My Documents\pda.mdb"
connDatabase.Open
End Sub
Private Sub Command1_Click()
Dim connDatabase
Set connDatabase = CreateObject("ADOCE.Connection.3.0"
connDatabase.ConnectionString = "data source = D:\Pocket_PC My Documents\pda.mdb"
connDatabase.Open
End Sub