read an old protect Access database (version 1.1) with VB5 
Author Message
 read an old protect Access database (version 1.1) with VB5

I'am trying to read an old protect Access database (version 1.1)  with
VB5

I'am doing
        DbEngine.SystemDB = " C:\DATA\SYSTEM.MDA "
        Set wk = DbEngine.CreateWorkSpace(" MyWK ", "USER1 ",  _
                                                "MyPWD"",dbUseJet)
On this last line, an error occur : Can't find the workgroup file.

Excuse my bad english



Sat, 30 Sep 2000 03:00:00 GMT  
 read an old protect Access database (version 1.1) with VB5

Quote:

> I'am trying to read an old protect Access database (version 1.1)  with
> VB5

> I'am doing
>         DbEngine.SystemDB = " C:\DATA\SYSTEM.MDA "
>         Set wk = DbEngine.CreateWorkSpace(" MyWK ", "USER1 ",  _
>                                                 "MyPWD"",dbUseJet)
> On this last line, an error occur : Can't find the workgroup file.

> Excuse my bad english

Hmm... let me hint you in on some information.
You do NOT need a workspace. I don't use one myself and create databases
all the time, neither do the people I know use a workspace.
I believe checking the DAO3.5 refrence under the project menu and
simply;

' General Delcarations
option explicit
dim db as database
dim rs as recordset

Public Function OpenDB
' Function
set db = OpenDatabase("c:\datab\system.mda")
set rs = db.openrecordset("Select [field] from [table]")

End Function

and then do what you want to do with the database.

--

 Ryan Banas (Compe)        



Sat, 30 Sep 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. read an old protect Access database (version 1.1) with VB5

2. error 3041: try to load old database (Access 1.1/2.0)

3. VB5: CreateDatabase and MS-Access Version 1.1?????

4. Can VB5 read/convert VB3 Access 1.1?

5. VB3/4 Problem Accessing Access 1.1, Read Only In WIN95

6. Crystal 1.0 database error when connecting to Access 1.1 database

7. Using SQL To access Access 1.1 Database in VB

8. HELP: Reading/Converting MS Access 1.1 files

9. 10-year-old starting to program with QBasic 1.1

10. VB3 problems opening Access 1.1 database

11. Sorting access 1.1 databases

12. Another pb with access 1.1 database.

 

 
Powered by phpBB® Forum Software