Application.Printers is crashing Access

DarrellDoesData 20 Reputation points
2024-08-17T21:36:21.7+00:00

My Access 365 application reads the list of available printers into a dialog box. It has worked for years until now. This is an excerpt of the code...

User's image

Any idea what could be causing this?

Access Development
Access Development
Access: A family of Microsoft relational database management systems designed for ease of use.Development: The process of researching, productizing, and refining new or existing technologies.
876 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Karl Donaubauer 1,816 Reputation points MVP
    2024-08-18T16:48:03.15+00:00

    Hi,

    Your code works without a problem in my Current Channel version 2407 build 17830.20166, 64 bit.

    1. What is the Office version and build (see File - Account) where you see the crash?
    2. Did you try the code in a new database (as suggested by Viorel) and on a different machine?

    Servus
    Karl


    Access News, Forever, DevCon
    Access-Entwickler-Konferenz AEK - 19./20.10. Nürnberg


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.