Solved

How to get list of running tray applications?

Posted on 2008-06-19
2
772 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 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Iteration Help (Asp.net VB) 5 36
How to save the image in the .cds File ClientDataSet? 1 29
Why use this lambda? 12 60
Securing WEBAPI on Azure 2 21
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
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 synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

735 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