Results 1 to 7 of 7
  1. #1
    Ron Nemec is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    8

    App created in access 2016, moved to remote site with Office 365, recopied to my PC WON'T WORK

    I created a split app on a desktop PC. I moved it to a remote site which uses Office 365, relinked the tables and it works fine.


    However when I copy all of the tables and the app back to my desktop I cannot open the app part on my PC in order to relink the tables. I get an error (I think it was 3619) saying that the app is in use by another and if I continue then NO forms etc are even visable.
    Does Office 365 on a network do something to the app? I can open any of the tables just fine just not the app that uses those tables. At the remote site using Office 365 I CAN open the app in update mode to make changes to the forms etc.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    its probably the references, not the app.
    open the db while holding the shift key,
    once open, press ALT-F11 to enter VBE
    menu, tools , references,

    see if anything has a checkmark YET says MISSING. that means its looking at the old version.
    uncheck the missing, then look down the list for the current version. then check it.

    another problem could be 32 bit vs 64. Do a global search for DECLARE, and make the app safe for both 32 or 64 bit PCs by using PTRSAFE:

    Code:
    #If Win64 Then      'Declare PtrSafe Function 
    Private Declare ptrsafe Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpszOp As String, ByVal lpszFile As String, ByVal lpszParams As String, ByVal lpszDir As String, ByVal FsShowCmd As Long) As Long  
    Private Declare ptrsafe Function GetDesktopWindow Lib "user32" () As Long
    
    
    #Else  'non ptrsafe
    
    
    private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpszOp As String, ByVal lpszFile As String, ByVal lpszParams As String, ByVal lpszDir As String, ByVal FsShowCmd As Long) As Long
    Private Declare Function GetDesktopWindow Lib "user32" () As Long
    
    
    #End If

  3. #3
    Ron Nemec is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    8
    The application was created on my PC and for the last year it was modified etc on my laptop, copied to the user's network and run. We have had that process going now for about 5 years. Only in the last 6 months have I encountered this problem. One was with an I modified for them about 3 years ago and they wanted a modification but I encountered this problem both on my laptop and on their own network. I had not touched this app for about 6 months and they requested a change and the problem showed up.

    Here is what the references screen shows:

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Post 3 was moderated, I'm posting to trigger email notifications.

    Ron, your image doesn't appear to have attached properly, you might want to try it again.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    Ron Nemec is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    8
    And this is all that access shows when I open it in update mode (Opening with shift key down):



    None of the forms, tables or any other of the aspects of the app show up. There are tables that I have copied over also and they open as expected showing the tables and NOT giving me the message that someone else is in the program. Also when I made the copy to bring home there were NO LDB files for the app (which should be expected since they are using a .BAT file to gain access that copies the app to their hard drive and then opens the app. So far when I do the shift-open to the app on their network it allows me in as expected.

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    For some reason your attachments aren't working. What is the file type? You might try putting them in a zip file and attaching that.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    Ron Nemec is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    8
    Here is the second image. This is all I see when I shift-open the application.

    Click image for larger version. 

Name:	Screenshot 2021-05-21 114020.jpg 
Views:	10 
Size:	30.2 KB 
ID:	45270

    And here is what I see in the references step:

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

Similar Threads

  1. Replies: 2
    Last Post: 03-25-2019, 12:59 AM
  2. Replies: 7
    Last Post: 04-19-2018, 12:57 PM
  3. Replies: 0
    Last Post: 01-05-2017, 11:47 AM
  4. Access from Office 10 will not work in Office 365
    By Majestic Eagle in forum Access
    Replies: 3
    Last Post: 01-03-2017, 03:49 AM
  5. Replies: 3
    Last Post: 10-18-2016, 09:06 AM

Tags for this Thread

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