?
Solved

Terminate-and-stay-resident

Posted on 1998-07-09
3
Medium Priority
?
305 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
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Suggested Courses
Course of the Month17 days, 12 hours left to enroll

829 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