Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
How to Add a Control
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement