Running program properties

  • Thread starter Thread starter Stephen Edgecombe
  • Start date Start date
S

Stephen Edgecombe

Is there any way to find out the properties (name, path and so on of the
program currently ruuning from within the program?
 
Check Out the Application Class Properties. IE
MessageBox.Show(Application.ProductName)

Regards - OHM
 
* "Stephen Edgecombe said:
Is there any way to find out the properties (name, path and so on of the
program currently ruuning from within the program?

Have a look at the members of the 'Application' class.
 
Thanks

That works OK for a Windows application because the Application Class is in
the System.Windows.Forms namespace.

What about non-windows applications, lig Console and Web Service
applications?

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top