Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Add a Control
Message
From
03/08/2006 13:17:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
How to Add a Control
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01142753
Message ID:
01142753
Views:
53
I have an Active X that is a type library. In Visual Basic 6 these are added to a project via the menu path:

Project -> Reference...

This brings up a dialog and the dll can be added via the "Browse..." command button and then "checked" in the Availabile References list. This then adds the library commands to the project.

How can this be done in VFP9 -- is it possible to create an instance of the type library? From a test VB6 project, I have the following added to the .vbp file:

Reference=*\G{9BCE6D54-43AB-11D4-AE4E-00AA00BD8FAD}#1.0#0#..\..\Program Files\SAP MDM 5.5\COM\MDMCom.dll#MDMCOM 2.0 Type Library

(all in a single line). Can the GUID be used somehow to create an object? Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform