Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_VFP.ActiveForm.Controls(1).Pages(2).Controls....
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00437749
Message ID:
00437870
Views:
18
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform