Free Lessons
Fast Tips
Topic Index
Home   Courses   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
Home > TechHelp > Directory > Access > List Open Programs < RunSQL v Execute | Save As Text >
List Open Programs
By Richard Rost   Richard Rost on LinkedIn Email Richard Rost   3 months ago

List All Open Programs with EnumWindows Function

 S  M  L  XL  FS  |  Slo  Reg  Fast  2x  |  Bookmark Join Now

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!



Recommended Courses

Member Links

Code References

  • Declare PtrSafe Function EnumWindows Lib "user32" (ByVal lpEnumFunc As LongPtr, ByVal lParam As LongPtr) As Long
  • Declare PtrSafe Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long

Learn More

FREE Access Beginner Level 1
FREE Access Quick Start in 30 Minutes
Access Level 2 for just $1

Free Templates

TechHelp Free Templates
Blank Template
Contact Management
Order Entry & Invoicing
More Access Templates


Mailing List - Get emails when new videos released
Consulting - Need help with your database
Tip Jar - Your tips are graciously accepted


Please feel free to post your questions or comments below or post them in the Forums.

KeywordsList Open Programs in Microsoft Access

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



Comments for List Open Programs
Age Subject From
3 monthsListWindowsEduardo Benaim
3 monthsYou are a mind readerSandra Truax


Start a NEW Conversation
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
Subscribe to List Open Programs
Get notifications when this page is updated

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

Copyright 2023 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 12/5/2023 5:16:41 PM.
Keywords: TechHelp Access list all open windows, callback functions, enumwindows, open programs, running programs, what programs are running, switch to open window, switch to program  PermaLink  List Open Programs in Microsoft Access