Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class...class...CLAAAAAASS!
Message
De
13/03/2014 09:48:10
 
 
À
13/03/2014 09:40:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01596345
Message ID:
01596447
Vues:
63
>Hi Doug,
>
>Age must be creeping up on me. Not only is this of course, the right approach, I had already started it a while back and completely forgotten about it. Ugh! But I do have a follow-up question:
>When the form containing the new controls tries to open, you get the Windows 'OLE not registered' error. What I'd like to do is trap that error, and then prompt the user to run the installer. That way the issue remains peculiar to that machine, not the user. How can I do that?
>Thanks.
>
>Luke
Try
   loX = CreateObject("myClass.ocx")
Catch
   loX = .null.
   Messagebox("Your message here")
Endtry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform