>>Another thing, changing path in a COM object is a big no-no especially for out of proc applications. Use SET PATH To get at your data and classes.
>>
>Hi Rick,
>
>Is CD a no-no in a COM object because it is poor practice, or because it causes problems?
If you do it in an InProcess server it will cause major problems because you're changing the path of the host application which might (most likely will) screw it up.
In out of process servers it's just poor practice but I still wouldn't do it just for consistency. General rule: A COM object should never change the environment of its calling processes and if it does, always reset it upon return of any method calls.