Task Manager Switch-To

Posted on 2002-04-20
Last Modified: 2008-10-13
I have a VB6 program that normally runs "invisibly" without a form so it doesn't show on the taskbar.
It does show in the task manager and when the user clicks on the process in the task manager I'd like the application to detect that.  Is that possible? I'll gladly give more points to show appreciation for a working answer.  


Question by:adg
  • 2
LVL 16

Accepted Solution

Richie_Simonetti earned 50 total points
ID: 6957455

Expert Comment

ID: 6957697
Why not just remove the app from teh task manager instead?

App.TaskVisible = False



Author Comment

ID: 6958079
Hi RichW, I really do want the application to be in the task manager. The process is normally unobtrusive but I would like to display a "console" in the event of a "switch-to".  There should be someway to detect this, don't you think?
LVL 16

Expert Comment

ID: 6991741
What happens here!

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now