>Mike:
>
>SET DEFAULT definitely doesn't work. I needed a way for the web service to be able to set relative paths. This is why a put the code in the INIT. It seems to work.
>
>Now I need to find out when the INIT is actually called. I see that COM+ is activating and deactivating (JIT) the object between method calls. Does this mean the INIT is going to fire each time I make a method call?
>
>Thanx,
Charlie,
Yes. VFP COM objects can not be pooled so they are created and destroyed as needed (most likely at the beginning and end of a method call). For this reason, it is best to have very little code exectuting in those methods. Overhead can be a killer if a lot of procesing needs to occur here.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao