Re: Application Physical Path

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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/


.



Relevant Pages

  • Re: RWW - can I set a security group or policy to restrict access?
    ... application server and grant him the proper rights: ... Accessing Terminal Services Using New User Rights Options ... primary and then deleted the Domain Users profile. ... the 'connect to my company's applications server'. ...
    (microsoft.public.windows.server.sbs)
  • Re: Permission Issue
    ... > I'm running 2003 Server, I've installed a few well known ... > applications on some of my workstations. ... > proper rights to save a file or they might not be able to ... > even execute the program without an error. ...
    (microsoft.public.win2000.security)
  • Re: Question about connecting client programs to Sql server 2005 running on local area network
    ... It seems more and more for me that "Application attempted to perform an operation not allowed by the security policy" is a Microsoft term for: "There is something wrong", as they are to lazy to give proper answers. ... Are you sure that you have the proper rights as a user on the Server you are connecting to and that you are registrated with the right rights on that Server (And correct connection to that)? ...
    (microsoft.public.dotnet.framework.adonet)
  • WinXP Pro --> Win2000
    ... This has to do with you hosts file. ... you need to set the ip address of your server in there. ... The user is able to login, ... >dialog box asking him to login with the proper rights. ...
    (microsoft.public.windowsxp.network_web)