Re: Cannot create table in eVB - "cannot open the device or file specified"
From: Earl (brikshoe
Date: 02/26/04
- Next message: Steve Thurner: "GetCurrencyFormat"
- Previous message: xhenxhe: "Re: Changing forms [error]"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Feb 2004 18:42:14 -0500
You did add the Microsoft CE ADO Control 3.0 to your References I hope? And
then actually install the package so that the registry knows where things
are?
"Paul Perkins" <paul.perkins@nospam.logicacmg.com> wrote in message
news:1074074597.548266@ernani.logica.co.uk...
> Hello all,
>
> This is really driving me mad.
>
> I've got a eVB app that needs to create tables in the object store. My
> code runs fine under the emulator, but on the device it fails with the
> error message
>
> The system cannot open the device or file specified.
>
> The code is:
>
> Set rsRecordset = CreateObject("ADOCE.Recordset.3.0")
>
> rsRecordset.Open strTableDef, , , 1
>
> Set rsRecordset = Nothing
>
>
> The actual code is a little more sophisticated, but this is the essence
> of it. Using the Open without the Options parameter set yields that same
> results.
>
> The tables that I'm trying to create have existed previously and have
> been deleted programmatically. Could it be that msystables and its
> friends have got into a state?
>
> As an aside, I've also tried using the Execute method of the Connection
> object, but this always fails with an 'object expected' error.
>
> Please help!
>
> Paul.
>
- Next message: Steve Thurner: "GetCurrencyFormat"
- Previous message: xhenxhe: "Re: Changing forms [error]"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|