Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I know the cmds' name of OLE ?
Message
De
25/06/1997 10:24:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00037528
Message ID:
00037704
Vues:
32
>> >There are many software supporting OLE, such as MSword, Excel, Schedule+.
>> However, I don't know the cmds which can run on Vfp program, for example, I
>> only know Thisform.mswordapp.view can run inside Vfp but how can I open a
>> Schedule+ view winodw? I tried Thisform.schd.view but vfp reject the cmd
>> and shown an error "0xxxxxx not registered".
>>
>> Schedule + does not support ActiveX Automation. You'll need to use DDE.
>
>... which goes a long way to answer the question, but may not go far
>enough. The OLE functions that you use are specific to the application
>that you want to talk to. When you want to talk to another application,
>you have to base everything on what that application understands. OLE
>to Word, for example, is quite different from OLE to WordPerfect and, if
>you want to talk to both, you have to use what works in each.


Just another note. With ActiveX becoming so prevalent, there are more and more examples on how to talk to specific controls....but most of these examples are in VB. One of the VB 5.0 manuals documents the standard Microsoft ActiveX controls. This manual is available separately at most bookstores.

Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform