Results 1 to 4 of 4

Thread: "Permision denied"

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    2

    "Permision denied"

    Trying to recompile an old VB 5.0 program on my new Windows 98 machine I get the message "Permission denied" with the statement

    Set SystemDatabases = DBEngine.Workspaces(0)

    "Workspaces" is flagged as the item in error.

    What permission do I need and how do I give myself it?

  2. #2
    Fanatic Member
    Join Date
    Nov 2001
    Location
    Bangkok
    Posts
    969

    Hi

    which database you use? You had the DB on the other PC with a password? Which System was on the old PC? Which VB?
    More infos please ...


    Franky

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    2
    This is not a runtime message. It comes form the compiler (VB 5.0), and has nothing to with any database that I am using. It has something to do with what the compiler does when it handles this statement.

    When I compile this program on my other (W95) machine, it runs on my W98 system. There is no runtime problem.

  4. #4
    Fanatic Member
    Join Date
    Nov 2001
    Location
    Bangkok
    Posts
    969

    I found it

    I checked my programs and found the problem ....
    You use DAO and MDB.
    The Jet-Engine from you is not the correct one or not installed. That must be the problem.

    Franky

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width