Accessing a .CDB PocketPC database using VB6 with ADOCE
Quote:
> I was wondering if someone could help me with the following:
> I'm using VB6 Enterprise to try to access information in a .CDB file.
> I'm basically just trying to read information from it but
> as soon as I get to a line such as
> Dim cnCe as ADOCE.Connection
> Set cnCE = CreateObject("ADOCE.Connection.3.0")
> The same error is generated when trying to instantiate the Recordset
> object.
> This line gives a runtime error with the message
> "ActiveX cannot create data object". Could someone please tell me
> what the cause of this is?
> Is there another way I can maybe convert the CDB to an MDB to access
> the information?
Er, copying it from the handheld to your PC will convert it.
If you want to access it on the handheld, you need the
VB version that is made for CE, because VB 6 won't run
on CE.
Terry Austin