Solved

How to get list of running tray applications?

Posted on 2008-06-19
2
769 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
2 Comments
 
LVL 3

Accepted Solution

by:
smot earned 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now