basically I need access to the form for 2 reasons, (1). to view some infor from time to time, and (2). because its ported from a normal APP. all the logic is still in the form, and I was not allocated any time to re-write the program properly as a service ! hate that !
I will try your idea tho, it might work ok. Jeremy -----Original Message----- From: "Bevan Edwards" <[EMAIL PROTECTED]> To: Multiple recipients of list delphi <[EMAIL PROTECTED]> Date: Mon, 28 Jul 2003 08:45:34 +1200 Subject: Re: [DUG]: Services and permissions > Hi Jeremy, > > The reason it probably doesn't work as the Local System account is > because > it doesn't have network permissions. > > Why do you need access to the form to copy files around? > Why does it need to be interactive? > > I haven't tried this, but you could try running a process within the > service > to map two network drives (one for source and one for destination) > using > "net use x: \\server\path password /user:domainname\username". > > Regards, > > Bevan > > ----- Original Message ----- > From: "vss" <[EMAIL PROTECTED]> > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > Sent: Friday, July 25, 2003 11:16 AM > Subject: [DUG]: Services and permissions > > > > Hi all. > > I have a wee tool that I have converted from a stand-alone app to a > > service. > > The app. has a form and moves file around from server to server. > > Now, because the service has to be interactive, I have to use the > system > > account in the service peoperties, but I think to get it to work > properly > > I have to tell it to run as administrator. e.g. it moves files from > one > > server to another, but that is not happening. > > BUT, if I specify the service to run using any other person other > than > > the system account and the interactive checkbox ticked, I dont get > access > > to the form, and I will need to do this. > > Will I need to do some sort of immpersonation?? (I can do a good > eric > > cartman :-) hehehe) > > > > Cheers, Jeremy > > > > > ----------------------------------------------------------------------- > --- > - > > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > > > > ----------------------------------------------------------------------- > ---- > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
