Like I have said, I need to be able to get info from the interface.
Putting the info into the event viewer or a log file really isnt
practical for the needs I have.
The problem IS, that unless I use an administrator login, I can copy or
move files, let alone delete them.
But to do that I have to run the service AS the admin, and thenI don't
get access to the form or even a tray icon.
BUT, I have found some code that someone put on Torrys that shows you
how to do it, but showing a form via this code is kinda screwed up, but
it does let me get a tray icon. From that, I can prob. Put some info
that I need to see on the form into the tool tip, if it shows one, but I
have UNFORTUNITLY been on a "Team Building" course today so I did not
get a chance to look at it.
Also, its not quite as easy as just copy and pasting, which WOULD be
nice, but theres a lot of code that could get screwed up and its kinda
vital that it stays intact and doesn't muck stuff up.
Oh well....

Jeremy

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jeremy North
Sent: Tuesday, 29 July 2003 12:12
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Services and permissions







> basically I need access to the form for 2 reasons, (1). to view some 
> infor from time to time, and

Log files / Event viewer are good for that...

> (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 !

If you had time to time make it a service surely cutting and pasting the
code into a unit wouldn't be too time consuming.  Unless the logic is
tightly tied to the GUI.  Which you would hope isn't the case.

JED



This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the
[EMAIL PROTECTED]

------------------------------------------------------------------------
---
    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/

Reply via email to