List Open Programs
By Richard Rost 2 months ago
List All Open Programs with EnumWindows Function
In this Microsoft Access tutorial, I'm going to teach you how to use the EnumWindows function to list all open and running programs on your PC. This is handy if you want to switch to an application that's open, but you don't know the exact title.
Daniel from Greenville, South Carolina (a Platinum Member) asks: I'm using your AppActivate code to switch to my web browser and then copy some data from there into my Access application. Usually, the title stays the same, but once in a while, the website modifies the title just a bit, and it throws my code off. Is there any way to loop through all the open windows and look for a piece of text in the title instead of having to match the entire thing?
Members will learn how to switch to the application once we've found it, copy all of the text in that application back to Access, which we can then use to do whatever we want. Whether it's parsing some data out, copying it to a table, and so on.
Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the database template from class plus get access to the Code Vault. If you signed up on YouTube you have to register on my YouTube Find User page so I can set up your account here on my web site. If you're not a member, Join Today!
access 2016, access 2019, access 2021, access 365, microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, list all open windows, callback functions, enumwindows, open programs, running programs, what programs are running, switch to open window, switch to program
Subscribe to List Open Programs
Get notifications when this page is updated