Sorry I am unsure if i should be posting this in "General Discussion".
I am a bit new to vb.net ( 2003 ) but still, i am stuck.
Example: A user uses the same EXE file ( of another app ) to open up
multiple versions of an exe.
In each shortcut the "Start In" portion of the shortcut is different - for each data dir.
I am using the
myProc = Process.GetProcessesByName("anApplicationProcess")
I can find in the myProc variable where the exe file is stored, / path.
But I cannot find out how to access the "Start In" of a process.
I am going to be killing processes based on a certain "Start In" path.
using :
ForEach myProcess In myProc
myProcess.Kill()
Next
So I need to get the "Start In" portion from the Process info. Is there any
way to get this? Otherwise I will be killing an app running in a different data dir that I do not want to kill.
Thanks,
Miro
I am a bit new to vb.net ( 2003 ) but still, i am stuck.
Example: A user uses the same EXE file ( of another app ) to open up
multiple versions of an exe.
In each shortcut the "Start In" portion of the shortcut is different - for each data dir.
I am using the
myProc = Process.GetProcessesByName("anApplicationProcess")
I can find in the myProc variable where the exe file is stored, / path.
But I cannot find out how to access the "Start In" of a process.
I am going to be killing processes based on a certain "Start In" path.
using :
ForEach myProcess In myProc
myProcess.Kill()
Next
So I need to get the "Start In" portion from the Process info. Is there any
way to get this? Otherwise I will be killing an app running in a different data dir that I do not want to kill.
Thanks,
Miro