>Hi Hank,
>
>Yes, it does work running from a PRG...Hmmm...
>
>Two questions come to mind:
>
>1. How the heck can I find out where I am (what is the default directory?) when the COM object loads. I tried using cursors, messagebox and none of that works?
You can use STRTOFILE() to write to a file
>
>2. An older question that came to mind when I started testing this: Can VS 2008 load an "EXE" COM object or must it be a DLL?
>Reason: I have only been able to get the COM object to load in VFP when it is an EXE. It won't load at all as a DLL.
Only COM EXE can have UI.
--sb--