.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

How to Find out Windows service application path from Code ?

Posted By: Sajid P K     Posted Date: October 11, 2010    Points:2   Category :.NET Framework
Dear frnds,

Could you please help me to find out the path of windows serivce exe ( application path ) from code?



Regards.

Sajid P K


Responses
Author: Jean Paul             
Posted Date: October 11, 2010     Points: 5   

You can use:
System.Reflection.Assembly.GetExecutingAssembly().Location

Jean Paul http://jeanpaulva.com/


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend