Sagtens. Jeg er på fra 16-22 idag. Kontakt mig ICQ 83297796 så skal jeg hjælpe dig :)
Jeg skal lige sige at jeg kun har arbejdet med DAO da den kunne acceptere passwords.. eller..jeg vidste hvordan man gjorde. ADO kunne af en eller anden årsag ikke.
dbengine.Systemdb=<arbejdsgruppefil> dbengine.defaultuser = \"Kurt\" dbengine.defaultpassword = \"thordsen\" set ws = dbengine.workspaces(0) set db = ws.opendatabase(<databasesti>)
Du skal installere SP4 på Visual Basic, og din connect string skal indeholde \"Access2000;\" i stedet for \"Access;\" Hvis du ikke har servicepack 4 kan du kun åbne Access -> 97 databaser
xafion, er det Access 2000? Som du kan se i den kb artikel jeg referer til er det muligt selv uden SP\'s. Jeg citerer:
SYMPTOMS When you attempt to connect to a Microsoft Access 2000 database by using either the standard Data control or the Data Form Wizard, you see the following error message where \'...\\databasename.mdb\' is the absolute filename of the Access 2000 database:
Unrecognized database format \'...\\databasename.mdb\'\"
CAUSE The standard Data control uses Data Access Object (DAO) 3.51 to connect to Access databases by using the Jet 3.51 engine.
The Data Form Wizard uses the Jet 3.51 OLE DB Provider to connect to Access databases by using the Jet 3.51 engine.
The Jet 3.51 engine can connect to Access database versions prior to Access 2000, but cannot connect to Access 2000 databases.
RESOLUTION These problems are not seen with the Data control and Data Form Wizard that come with Microsoft Visual Studio 6.0 Service Pack 4.
Prior to service pack 4 for Visual Studio 6.0, the workaround for the standard Data control problem was to open a Recordset using DAO code, and then assign it to the Data control\'s Recordset. This workaround is described in Microsoft Knowledge Base article Q238401 in the \"References\" section.
Prior to service pack 4 for Visual Studio 6.0, the workarounds for the Data Form Wizard problem were:
Open the Access database through an ODBC DSN that uses the Access ODBC driver version 4.0.
Build the form manually using Jet 4.0 to connect to the database.
See these workarounds in the Microsoft Knowledge Base article Q242010 in the \"References\" section.
det skulle du let kunne se. Dels skal der jo stå Office2000 på CD\'en, dels skal der stå f.eks Microsoft Access 2000 i About (Om..) menuen. Jeg har aldrig hørt om at CD\'en skulle indeholde den forkerte version. Hvis du har købt 2000 så skal det selvfølgelig også være den version du har fået.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.