>>How can I see if something is working in a service? If I put a WAIT WINDOW in one of the procedures, should it display, error or just skip when that line is run? I don't seem to see anything happen, so I'm unusure if the process is working.
>
>Write to a file in the method you are firing periodically, you can write a method to format the messages, for example a simple one.
>
>
>define YourClass as YourBaseClass of YourClassLIB OLEPUBLIC
>* Your other methods
> LogFile = '\\YourServer\YourShare\YourFolders\YourFileName.txt'
>
> procedure LogMessage(tcMessage as String) as void
> if vartype(tcMessage) = 'C'
> strtofile(ttoc(datetime) + chr(9) + tcMessage, this.LogFile, 1)
> endif
> endproc
>enddefine
>
>
>[Update] I see Naomi beat me to it, on my defense, I wasted time writing code <g>
I actually have very similar code in my class as well.
If it's not broken, fix it until it is.
My Blog