CreateWorkspace - security problem in VB4

CreateWorkspace - security problem in VB4

Post by Brad Welc » Fri, 28 Mar 1997 04:00:00



If I have a valid Access user id & password (confirmed by running access)
why would I get a runtime error 3029  "Not a valid account name or
password"  while creating a workspace as in the following code.
=============================
' User and Pswd are set in earlier code (have also tried hardcoding)
' Note:  Set the inipath or will error with SYSTEM.MDA not available
DBEngine.IniPath = "C:\Windows\MSACC20.ini"
Set wsStock = DBEngine.CreateWorkspace("", User, Pswd)

Comment out the createworkspace and the following non-secured code does
work
===============================
Set dbStock = DBEngine.Workspaces(0).OpenDatabase(App.Path & "\stock.mdb")
======

I'm Using Win95 OS,  VB4-16bit with Access 2.0  (enduser is in win3.1)

 
 
 

1. Createworkspace problem in VB4-16bit - (Help)

If I have a valid Access user id & password (confirmed by running access)
why would I get a runtime error 3029  "Not a valid account name or
password"  while creating a workspace as in the following code.
=============================
' User and Pswd are set in earlier code (have also tried hardcoding)
' Note:  Set the inipath or will error with SYSTEM.MDA not available
DBEngine.IniPath = "C:\Windows\MSACC20.ini"
Set wsStock = DBEngine.CreateWorkspace("", User, Pswd)

Comment out the createworkspace and the following non-secured code does
work
===============================
Set dbStock = DBEngine.Workspaces(0).OpenDatabase(App.Path & "\stock.mdb")
======

I'm Using Win95 OS,  VB4-16bit with Access 2.0  (enduser is in win3.1)

2. Help! - Using seek with the data control

3. Createworkspace problem in VB4 (Help)

4. How do you limit the number of rows updated

5. VB4 Prof.: CreateWorkspace

6. newbie question:

7. VB4 / Access2 Security problems

8. please help - I'm in workspace hell

9. VB4.0 Win 32/Pro - Access 7.0 Security problem

10. CreateWorkspace problem

11. Jet CreateWorkspace problems in VB 4

12. Problems with CreateWorkspace() method

13. VB4.0 using Access with Security