Results 1 to 6 of 6
  1. #1
    plbcjn is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2020
    Posts
    3

    Question Problems after upgrading to windows 10

    I have an access database we have been using since 2008 most of which I created myself, but with some specialised coding to import XML files written by a (much cleverer) colleague. The database worked fine in Access 2016 until we upgraded the OS to Windows 10, and then it stopped importing files!



    Using debug, the execution stops here - but I don't see what's wrong to cause the error. Can anyone help me identify and fix it? It still works fine when we run it on an old XP machine we have not upgraded yet.



    Click image for larger version. 

Name:	AccessBug.jpg 
Views:	16 
Size:	139.7 KB 
ID:	42134

  2. #2
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Have you checked for missing references?? In the IDE, Click on TOOLS > References

    You could compare the references when in Win XP and the references when in Win 10.

  3. #3
    plbcjn is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2020
    Posts
    3
    Quote Originally Posted by ssanfu View Post
    Have you checked for missing references?? In the IDE, Click on TOOLS > References

    You could compare the references when in Win XP and the references when in Win 10.
    Hi Steve

    Thanks for your reply. I have checked and the references are exactly the same on the XP PC (which works) and the Win10 PC ( which doesn't ) Can you see anything missing here ?

    Click image for larger version. 

Name:	References1.jpg 
Views:	12 
Size:	84.6 KB 
ID:	42151

  4. #4
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,235
    See if this helps:
    https://stackoverflow.com/questions/...ned-windows-10
    Also have a look at this:
    https://stackoverflow.com/questions/...n-error-in-vba

    Try:
    Code:
    Dim objDomDoc As New MSXML2.DOMDocument60
    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  5. #5
    plbcjn is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2020
    Posts
    3
    Hello Vlad - that fixed it and all is working again. You sir are a genius - thank you so much for taking the time to help me out. Its very much appreciated.

    John

  6. #6
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,235
    I'm definitively not, but I am glad to hear you got it working!

    Cheers,
    Vlad
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

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

Similar Threads

  1. Replies: 2
    Last Post: 04-20-2020, 04:01 PM
  2. Replies: 5
    Last Post: 04-23-2019, 03:31 PM
  3. Replies: 4
    Last Post: 03-09-2017, 04:08 PM
  4. Replies: 1
    Last Post: 12-19-2012, 11:21 PM
  5. Calculating problems - windows vista problem?
    By ErikaAlmeida in forum Access
    Replies: 0
    Last Post: 06-08-2009, 02:34 PM

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