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
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 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Best way to parse out a json string in VB6? 10 289
SLMGR Switches Are Not Working On KMS Host 3 144
pop out of webbrowser1 control vba6 5 44
VB script to continue despite error 2 53
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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

733 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