Re: Application Physical Path
- From: "Jani Järvinen [MVP]" <janij@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 25 Jan 2008 16:40:36 +0200
Hello,
I'm not exactly sure if I got your question right, but if you want to know
the name of the executing process on a WinForms application, you could use
the System.Environment.CommandLine property. This is often the easiest way,
and should work on Windows Service applications, too.
Then, you had a question accessing server paths. If you have a mapped
network drive, then you could just copy your application there. But if you
are indeed talking of Windows service applications (.exe based), then simply
copying won't work, as the service has to be registered on the server
computer. For this to succeed, you will need proper rights to the server.
Hope this helps.
--
Regards,
Mr. Jani Järvinen
C# MVP
Helsinki, Finland
janij@xxxxxxxxxxxxxxxxxxxxxx
http://www.saunalahti.fi/janij/
.
- References:
- Application Physical Path
- From: mohaaron
- Application Physical Path
- Prev by Date: optional PropertyNameIsNull in Databindings PropertyName Changed pattern
- Next by Date: RE: pdb files for assemblies in GAC?
- Previous by thread: Application Physical Path
- Next by thread: WPF textbox autogrow
- Index(es):
Relevant Pages
|