Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP forms equivalent to VB6 reference to object library
Message
De
28/12/2004 17:01:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
00972675
Message ID:
00972718
Vues:
18
I need to translate a GIS program that is currently in VB6 into VFP8 that runs ESRI's ArcMap program through automation.

If the ArcMap program can be used as an automation server, you create an instance of it using syntax like this:
oArcMap = CREATEOBJECT( '< whatever the name of the application class is >' )
in much the same way that, if you wanted to automate Word, you would create an instance like this:
oWord = CREATEOBJECT( 'Word.Applicaiton' )
c:\arcgis\arcexe82\Bin\esricore.olb.

You can open this file in the Object Broswer to discover what properties you need to set and how to call its methods after you have instantiated it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform