Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connecting to Access Database
Message
De
21/05/2002 13:06:14
 
 
À
Tous
Information générale
Forum:
Palm, Pocket PC and Handheld
Catégorie:
Problèmes
Titre:
Connecting to Access Database
Divers
Thread ID:
00659488
Message ID:
00659488
Vues:
50
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
Here's to alcohol...the cause of ... and solution to ... all of life's problems - - Homer J. Simpson
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform