[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

System Tray Project

Posted on 2006-07-17
5
Medium Priority
?
184 Views
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
0
Comment
Question by:Randy Bristow
[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
5 Comments
 
LVL 9

Expert Comment

by:justchat_1
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
-or-
me.hide
me.show
0
 
LVL 3

Author Comment

by:Randy Bristow
ID: 17167414
justchat,

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:

http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=49902&lngWId=1

I will request that the question be closed.

Thanks,
RandyB
0
 
LVL 9

Expert Comment

by:justchat_1
ID: 17168546
give the refund...
0
 
LVL 1

Accepted Solution

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

GhostMod
Community Support Moderator
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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

649 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