-1

Please help how to get the path to the EXE file of the program. The bottom line is that I need to open word files in the folder where is the EXE of my program. I run the word file through the Process.Start ("filename").

CodeCaster
  • 147,647
  • 23
  • 218
  • 272
A.Ran
  • 49
  • 5

1 Answers1

0

See if this works for your requirement:

System.Reflection.Assembly.GetExecutingAssembly().Location
Sadique
  • 22,572
  • 7
  • 65
  • 91