Help : Accessing a secure access 2.0 database from VB4.0 
Author Message
 Help : Accessing a secure access 2.0 database from VB4.0

Hi netters,
        I am trying to use DAO from Vb4.0 to access a Access 2.0
database. I added a user to the jet users using the users menu in Access
2.0. I wanted to secure the database too. So I changed the password of
the admin account from blank string to something. In VB, from my login
procedure, I am trying to create a secure workspace as the first thing
before any other data access using the CreateWorkspace method. When the
admin password wasn't changed, I was able to create the workspace with
admin as well as the new user (say xyz), but as soon as I changed the
password of the admin user, I am not able to create the workspace either
with "Admin" or "xyz". Is the solution I am using (creting a secure
workspace) pretty much the standard way of accessing a secure database.
If it is, what I am doing wrong? If not, is there a better approach?
BTW, I created a new system.mda file and the above password scheme works
from Access 2.0 gui. Thanks a lot for any help..
        - Sameer


Fri, 03 Jul 1998 03:00:00 GMT  
 Help : Accessing a secure access 2.0 database from VB4.0

Quote:

> Hi netters,
>         I am trying to use DAO from Vb4.0 to access a Access 2.0
> database. I added a user to the jet users using the users menu in Access
> 2.0. I wanted to secure the database too. So I changed the password of
> the admin account from blank string to something. In VB, from my login
> procedure, I am trying to create a secure workspace as the first thing
> before any other data access using the CreateWorkspace method. When the
> admin password wasn't changed, I was able to create the workspace with
> admin as well as the new user (say xyz), but as soon as I changed the
> password of the admin user, I am not able to create the workspace either
> with "Admin" or "xyz". Is the solution I am using (creting a secure
> workspace) pretty much the standard way of accessing a secure database.
> If it is, what I am doing wrong? If not, is there a better approach?
> BTW, I created a new system.mda file and the above password scheme works
> from Access 2.0 gui. Thanks a lot for any help..
>         - Sameer

Have you set the SystemDB in VB?  Depending on your version there are
different ways to set it.

Search on SystemDB in the help files and it will show you how.  This
must be done before you create your workspace.

Frank
OA Comp Inc.



Tue, 07 Jul 1998 03:00:00 GMT  
 Help : Accessing a secure access 2.0 database from VB4.0

Quote:

> Hi netters,
>         I am trying to use DAO from Vb4.0 to access a Access 2.0
> database. I added a user to the jet users using the users menu in Access
> 2.0. I wanted to secure the database too. So I changed the password of
> the admin account from blank string to something. In VB, from my login
> procedure, I am trying to create a secure workspace as the first thing
> before any other data access using the CreateWorkspace method. When the
> admin password wasn't changed, I was able to create the workspace with
> admin as well as the new user (say xyz), but as soon as I changed the
> password of the admin user, I am not able to create the workspace either
> with "Admin" or "xyz". Is the solution I am using (creting a secure
> workspace) pretty much the standard way of accessing a secure database.
> If it is, what I am doing wrong? If not, is there a better approach?
> BTW, I created a new system.mda file and the above password scheme works
> from Access 2.0 gui. Thanks a lot for any help..
>         - Sameer

Have you set the SystemDB in VB?  Depending on your version there are
different ways to set it.

Search on SystemDB in the help files and it will show you how.  This
must be done before you create your workspace.

Frank
OA Comp Inc.



Tue, 07 Jul 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. VB4 app opening Secure 2.0 and 7.0 Access Databases concurently

2. Access 2.0 secure database from VB4/16

3. Accessing Secured Access 2.0 through VB4

4. Accessing a secured Access 2.0 DB with VB4.0 16-bit

5. VB4 vs Secure Access 2.0

6. VB4-16, JET 2.5 and Secure Access 2.0 workgroup

7. Securing Access 2.0 Database

8. Steps for securing an Access 2.0 database

9. SECURED DATABASE - ACCESS 2.0

10. Accessing secured Access database - Help please

11. Help: MSRDC - how to access a secure Access database

12. Accessing Access 2.0 database with VB3, ODBC 2.0 and Microsotf Jet Engine Compatibility Layer

 

 
Powered by phpBB® Forum Software