Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Add a Control
Message
De
03/08/2006 13:17:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
How to Add a Control
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01142753
Message ID:
01142753
Vues:
54
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform