Results 1 to 5 of 5
  1. #1
    NickMDal is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Dec 2017
    Posts
    18

    Running Access 2003 with Office 2016

    Hi. We have four Windows 7 machines that all use the same synchronized database MDB split front/back end. It has been running well for about 12 years - Access 03 is the only app from that version of Office.



    It is a complex application that runs a healthcare practice. We could not convert to ACCDB since synchronization was/still is essential.


    Just upgraded all machines to Office 16, 32 bit, which frustratingly upset db references.

    To get the Access 11.0 object library to display, I had to manually reset the registry paths for C:\Program Files (x86)\Microsoft Office\OFFICE11\msacc.olb …which worked, so these are the current references

    1. VBA
    2. Access 11.0 object library
    4. DAO 3.6
    5. ADO 2.5

    The code compiles, but there are two errors.

    First error (after installing Office 2016 and before changing references) "ActiveX component can't create object" on command to open a local Word doc, "Private Sub cmdOpenDoc_Click()"

    Second (appeared after correcting references). Our application login screen uses fOSUserName to verify the Windows user ID. It won't run, blocking access to the app.


    I've been involved in the design but am not a programmer. We are really in a bind here. I would really appreciate help.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,956
    I use Environ("USERNAME") to obtain the Windows user ID.
    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
    NickMDal is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Dec 2017
    Posts
    18
    Okay I'll ask the developer to take a look. Just a little worried about Access 2003 with Office. Is this a common function failure? Felt like a response to they Office environment change.

  4. #4
    Micron is offline Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,818
    You are sure it's 32 bit? 64 bit Windows apps require API calls to be declared safe. Research ptrSafe to find out more about it.
    About the only loophole I know of regarding Environ variables is that the user can alter them. If you're not concerned with that, then you could switch, but the ptrSafe declaration would be less work.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  5. #5
    NickMDal is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Dec 2017
    Posts
    18
    Thanks for that info. Office is definitely 32 bit based on "About" in the account info. The login security is already pretty low since the vb is accessible by any dev. The security is less piracy prevention and more low level hipaa privacy.

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

Similar Threads

  1. Replies: 0
    Last Post: 01-05-2017, 11:47 AM
  2. Replies: 1
    Last Post: 04-18-2016, 01:33 PM
  3. Replies: 4
    Last Post: 10-09-2015, 12:22 PM
  4. Replies: 1
    Last Post: 02-20-2014, 03:06 PM
  5. Replies: 1
    Last Post: 09-26-2012, 11:01 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