Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to implement OLE automation ?
Message
De
19/05/1997 16:50:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00032848
Message ID:
00032860
Vues:
50
>Hello all you guys,
> I am lost trying to implement OLE automation, I have looked
>at the samples that comes with FoxPro 3.0b using Excel and
>Word, but I can't "export" the idea to any other windows
>application that supports OLE, I am trying to use OLE to
>communicate with "EXTRA" , a mainframe client for windows,
>it supports OLE, it has objects,methods and properties,but
>I can't make a connection, I have tried
>oExtra=CREATEOBJECT(), and also GETOBJECT().
>But it doesn't work, I don't know which steps do I need to
>follow so FoxPro will know that "EXTRA" is an external
>application that supports OLE. Do I need to "register"
>"EXTRA" somewhere in the windows registry ?. In other words :
>what I need to do to use OLE automation with something that
>is not Excel or Word ?
> Any suggestion will be appreciated.
>
>=THIS.thanks("in advance")

Any such app should install and register itself with the necessary settings, I would think. You can get some idea of whether this has happened by looking at the \HKEY_CLASSES_ROOT key. In NT you can check DCOMCNFG, but I don't know if there's an equivalent utility in Win95.

You will need an object reference or object browser. With Office 97 for example, there are HLP files that implement all of this. In Corel, there is some kind of optional tool to browse the classes. You may need to contact the manufacturer of EXTRA unless you can discover this information. Maybe checking under classes or objects in the main help index...

Randy
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform