hi derek do you have any idea that how i can get path of office applications. i am not getting the api which can show the path of office application.
User 4041985
Posts
-
Path of running application. -
Path of running application.yes, now you are getting the point.if you will able to help me that will be really appreciable.Thanks for your co-operation. balram
-
Path of running application.Hi Derek, System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName gives the path of main module. means if you have opened ms -word doc "abc.doc" ,then the code which you have provided will give the path pf winword.exe. it will not give the path of "abc.doc". i need path of "abc.doc", not the path of winword.exe. now as i think requirement is clear to you. once again thanks for your reply. Balram mallick
-
Path of running application.hi Derek, Thanks for your quick reply. i need physical location and size of all application, which is running. have you seen task manager control panel.whatever the application running under applications tab.i need physical location and size of all application. thanks in anticipation. balram mallick
-
Path of running application.Hi, i need path of all running application. if we have two ms-word doc file, so how i can find path of this two file. i find path of notepad using ManagementClass MgmtClass = new ManagementClass("Win32_Process"); and CommandLine property. it gives only path of notepad allpication only, but not work in the case of word,xls file. plz help me