Your Mission: AP1(actually API but close enough)
Here is your mission should you choose to accept it:
find the code that matches this goal.
The Goal: Be able to detect at run time all programs running that show up in your taskbar. Once all have been detected, detect and retrieve the caption of each program.
Possible Fallout: If I wish to use it as a background process, will it be able to detect another program has been launched and retrieve its caption as well?
Effeciency Examination: Will it be efficient or possible, if run as a background application, to use a do... loop infinite loop, incorporating DoEvents(by the way if you know the syntax to make it even more efficient, a few lines of code that I have heard about, please include it as well), to keep the process going constantly.
I thank you ahead of time for your hardwork and dedication. Good luck
Joe
This Post will self destruct in 3......2......
Thanks for the prompt reply
Thank you for the prompt reply. By file currently selected, I mean that if you click on an icon with mouse or move to it with keyboard, is there anyway of detecting what the name of that file is. Example: If I open my C drive and click once on the WinNT folder, it is the currently selected file. Which reminds me, and I apologize, but does the code work for NT? I forgot to mention that.
Joe
You've been a great help!
I'll try to test that code out today; I don't know how much time I have though. Thanks very much. If you think of anything, just post here again and that'll be great. Thanks again.
Joe