Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_VFP.ActiveForm.Controls(1).Pages(2).Controls....
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00437749
Message ID:
00437870
Vues:
19
>I have an odd one.
>
>_VFP.ActiveForm.Controls(1).Pages(2).Controls(1) through
>_VFP.ActiveForm.Controls(1).Pages(2).Controls(160) works fine.
>But
>Public lnIndex
>lnIndex = 1
>_VFP.ActiveForm.Controls(1).Pages(2).Controls(lnIndex)
>
>in the very next line blows up with
>OLE error 1429, error 31, subscript out of range. Anyone ever see that?
>
>And, worse, the code in a "test fixture" seems to work fine. But in the .app,
>BOOM.

Is there an ActiveX control anywhere on the form (or page)?
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform