?
Solved

Terminate-and-stay-resident

Posted on 1998-07-09
3
Medium Priority
?
301 Views
Last Modified: 2012-08-14
Hello,
How would one go about to make a application a tsr? I am working on a small app that monitors activity on a pc and it would be ideal to have the program hidden.  Any help would be fantastic.
Thank you in advance,
=Rob2000
0
Comment
Question by:rob2000
[X]
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
3 Comments
 
LVL 6

Accepted Solution

by:
clifABB earned 100 total points
ID: 1465292
You can hide an application by simply creating it without a form or hiding a form (Form1.Visible = False).

A better idea (and more in line with Windows standards) is to put an icon in the Tray (where the clock is). To do this, you can use an OCX such as SysTray32.ocx available at:
http://www.download.com/PC/Result/TitleDetail/0,4,0-37597,501000.html

0
 

Expert Comment

by:Laqua
ID: 1465293
As for clifABB's suggestion about the ocx, there is no need for an ocx. Goto the address below and use the code given.

http://support.microsoft.com/support/kb/articles/q176/0/85.asp
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1465294
Lanqua:
Too much code to maintain.  Especially when the OCX is free.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses
Course of the Month15 days, 14 hours left to enroll

743 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