System Tray Project

Posted on 2006-07-17
Last Modified: 2010-04-30
Ok, here is what I am trying to do. We have a pinstamper here at my workplace that I have written a small application for. My application sends data via a loopback serial cable to the program that comes with the pinstamper. My program sends data out COM1 and the pinstamp program reads data in on COM2. Everything works fine...but when I send the data out and the pinstamp program changes its values, it brings the pinstamp program to the front, covering my application. I have tried code to keep my application on top but this is not working well for us. I would like to know if it is possible to place the other application into the system tray so it is not visible at all...or if it can be hidden (eg. Me.Visible = False) by using its HWnd or something
Question by:Randy Bristow
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

Expert Comment

ID: 17127304
You can start the other program minimized by selecting miinimzed in the program shortcut or you can manually minimize the program

In your own program you could use the form_lostfocus event to regain focus:
either me.setfocus

Author Comment

by:Randy Bristow
ID: 17167414

thanks for the comment, but I found the answer to do what I wanted. Just in case anybody else would like to know how to do this, check out this example on PlanetSourceCode:

I will request that the question be closed.


Expert Comment

ID: 17168546
give the refund...

Accepted Solution

GhostMod earned 0 total points
ID: 17205983
Closed, 500 points refunded.

Community Support Moderator

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

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

738 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