Solved

How to get list of running tray applications?

Posted on 2008-06-19
2
767 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
Comment Utility
0
 

Author Closing Comment

by:DelphiMan7
Comment Utility
Brilliant thanks!  Sorry I never saw your original thread before.  
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

743 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

9 Experts available now in Live!

Get 1:1 Help Now