Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loading an .APP file from a VFP COM object
Message
From
05/05/2011 11:09:39
Scott Malinowski
Arizona Fox Software LLC
Arizona, United States
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01503828
Message ID:
01509651
Views:
62
>>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.

Since this is a process that runs unattended, I don't need any UI at all, But the question in my mind is this: can VS 2008 load a VFP EXE Com object (vs a VFP DLL Com object)?

Thanks Sergey!

Scott
Previous
Reply
Map
View

Click here to load this message in the networking platform