Results 1 to 4 of 4
  1. #1
    jpimlott is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Jan 2012
    Posts
    2

    read only database when opened with an app

    We have an application that copies a mde file local and then runs it under msaccess 2003.
    It runs fine as a local administrator when using the application.
    When a regular user logs onto the system then it opens with a read only message. It does not create the ldb file.
    The mde works fine if launched directly as regular user or as an admin.
    This same application works fine on other PCs with anyone logged on.
    The application is developed locally but we have lost the source code.
    John

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    "We have an application that copies a mde file local and then runs it under msaccess 2003."

    What application?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    jpimlott is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Jan 2012
    Posts
    2
    It is an appilcation that was written in house and we dont have the source code for it or documentation on exactly how it works.

    It copies a MDE file down from a network resource then starts access 2003. This works fine on existing PCs with any user level logged in.

    On the new pc (windows 7) only local admins can run it.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    You don't know if the application was VB, VB.net, C, C+, C++, C#, C.net, or something else and can't find source code? What is the file extension of the application? Windows 7 won't run a lot of older programs. I believe often has to do with 32bit vs 64bit compatibility. Abandon it and write a new one.

    I use a simple VBScript to copy, open, run Access project. Create script with Notepad, save file, rename so the extension is vbs instead txt. This makes the file an executable.

    Code:
    Const OverwriteExisting = TRUE
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    'following will copy Access file
    objFSO.CopyFile "\\your file path\your file name.accdb", "c:\", OverwriteExisting
    'following will now open the Access file
    Set oShell = CreateObject("WScript.Shell")
    oShell.Run """C:\Program Files\Microsoft Office\Office12\msaccess.exe"" ""c:\your file name.accdb"""
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 04-11-2011, 05:05 PM
  2. Replies: 3
    Last Post: 12-09-2010, 11:50 AM
  3. Code needed when Database is Opened
    By Access_Headaches in forum Access
    Replies: 7
    Last Post: 08-13-2010, 01:03 PM
  4. Replies: 0
    Last Post: 10-13-2009, 11:54 AM
  5. Read only Access Database
    By Rameez in forum Access
    Replies: 7
    Last Post: 06-23-2009, 12:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums