Skip to main content

Posts

Showing posts with the label get physical path in windows application

Get the application physical path in windows forms application

I am going to share the code for get physical path of your application. i.e. System.IO. Path .GetDirectoryName(System.Reflection. Assembly .GetExecutingAssembly().Location) The both above and below line of code are use to get the physical path of windows forms application. i.e.                                             OR System. AppDomain .CurrentDomain.BaseDirectory