Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to get list of running tray applications?

Posted on 2008-06-19
2
Medium Priority
?
778 Views
Last Modified: 2013-11-23
I'm adding a function to a Delphi 7 application which simulates the "Website -> ASP.Net Configuration" option from Visual Web Developer 2008 Express.  

It more or less works, i.e. it starts the ASP.Net Development Server, and launches the browser with the appropriate URL.  

However, if Visual Web Developer is already running on the given port, then it obviously throws an error.  There doesn't seem to be an option to make it silent (though if anyone knows of one, that would be very useful!)  

I found an example of how to get a list of running processes, but unfortunately that just identifies whether or not an instnace is running, not what port it is on.  

However, when you pass your mouse over the ASP.Net Development Server icon in the system tray it shows the tooltip "ASP.Net Development Server - Port XXXXX".  

This is the information that I need!  Is there anyway to get at it?  

Or of course if there is another way to reliably identify whether or not it is running on a particular port.  
0
Comment
Question by:DelphiMan7
[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 Comments
 
LVL 3

Accepted Solution

by:
smot earned 2000 total points
ID: 21824761
0
 

Author Closing Comment

by:DelphiMan7
ID: 31468808
Brilliant thanks!  Sorry I never saw your original thread before.  
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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
Suggested Courses

718 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