Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Foxpro DLL in Visual Basic
Message
From
27/08/2004 04:19:40
 
 
To
26/08/2004 20:57:25
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00936202
Message ID:
00936903
Views:
26
OK, I see the difference. So if I define something like:
DEFINE CLASS myForm AS Form OLEPUBLIC
   Height = 100
   Width  = 200
   ADD OBJECT edtBox AS editbox WITH ;
        Height = 75             , ;
        Left   = 6              , ;
        Top    = 6              , ;
        Width  = 200 - ( 2 * 6 ), ;
        Name   = "edtBox"
ENDDEFINE
... and if I create a project that compiles into an executable, the class "myForm" would be known as a COM object, usable in VB for example. Did I grasp the thing?

Pat


>There are two types of COM components, DLLs and EXEs. Any DLL created with VFP cannot have UI. Any EXE can.
>
>>
>>Hello Craig,
>>
>>I am confused with what you said ... but maybe it's simply me! You're saying that VFP COM DLLs cannot have any UI. But lately, I got a reply on the UT, saying that we can expose forms as COM objects (but I haven't got the time to test it yet and I am not using this a lot for now). Can you elaborate on this?
>>
>>Pat
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform