Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loading an .APP file from a VFP COM object
Message
De
05/05/2011 11:14:09
Scott Malinowski
Arizona Fox Software LLC
Arizona, États-Unis
 
 
À
05/05/2011 09:40:53
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01503828
Message ID:
01509653
Vues:
52
>- You can't access the cursor in the COM component from the host and vice-versa.

Good to know...I created a table and wrote the set('directory') value to it. That worked. Sergey B. also has a simpler solution.

>- A VFP COM DLL cannot have any UI, but a VFP COM EXE can

I don't need any UI, was just to find out what location I was at when the COM object loaded. Can VS 2008 load either a VFP COM DLL or a VFP COM EXE?

>- Not sure what you're asking about in question 2. Are you trying to load a VFP COM object in Visual Studio at design time?

No, I'm actually testing it from VFP. The VS side of this has not been written yet. The question actually relates to what type of COM object VS 2008 can load (see above).

Thanks Craig!

Scott

>
>>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?
>>
>>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.
>>
>>
>>Thank you,
>>
>>Scott M.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform