Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Urgent: USe of Vfp Class(VCX)
Message
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00251517
Message ID:
00252877
Views:
8
>How can I user VFP Class(VCX) in Visual BAsic 6?

You can't directly do so. You can compile the VFP VCX to be a COM Component of some sort (it can be either a .DLL, creating an in-process server, or a .EXE, which would be an out of process server.) Once it is compiled as a server and registered, it can be used like any other COM component.

A couple of things to realize:

(1) You will need the VFP runtime installed on each system that instantiates a VFP COM server. If you access the VFP COm component via DCOM (either an out-of-process server running on another machine, or an in-process server controlled by MTS running on another machine), only the server machine(s) require the VFP runtime.

(2) You cannot integrate user interface components from VFP into another application using a VFP COM object. VFP-created in-process servers cannot have any user interface elements at all, and out-of-process servers, while they may have user interface elements, cannot have them incorporated into the client app's event loop. IOW, you can't create controls from VFP.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform