Task Manager Switch-To

Posted on 2002-04-20
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 16

Accepted Solution

Richie_Simonetti earned 200 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month12 days, 11 hours left to enroll

777 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