Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ole error code 0x, Trappable?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01113807
Message ID:
01114118
Vues:
14
I'm using an OLE control on a form that some users will have and some won't. Opening the form when you don't have the control gives the "OLE error code 0x---- not found".

Doug Hennig published a very nifty solution in the June 1998 issue of FoxTalk magazine called "Tame Your ActiveX Controls" where he deescribes a loader to instantiate the control at run time depending on what is on the client's machine. Here is the abstract:

ActiveX controls are forward, but not backward, compatible. This means that if you install a newer version of an OCX on your system, any applications you ship to people who have an older version installed will break. This article presents a reusable tool that solves this problem in a simple, easy-to-use manner.

If you subscribe to Foxtalk, you can get the article online at http://www.pinpub.com/ME2/Audiences/dirmod.asp?sid=&nm=&type=Publishing&mod=Publications::Article&mid=8F3A7027421841978F18BE895F87F791&AudID=301888DF3BCF483382FC8A1382F3050B&tier=2&did=9A0EA8C6B8A44B6AB2D5E5C1FCFF34B9&dtxt=FoxTalk+June+1998
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform