Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Terminate-and-stay-resident

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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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…
Suggested Courses

618 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