Re: method parameter
- From: Gleason Pace <sombrero@xxxxxxxxxxxxxx>
- Date: Fri, 13 Oct 2006 19:38:46 -0400
On Thu, 12 Oct 2006 22:21:05 -0700, Jack Jackson
<jacknospam@xxxxxxxxxxxxxxx> wrote:
I am trying to use an activex method that takes a parameter described
as (text as string @) . I know that an @ in front of a parameter
makes a variable passed by reference to a function. The compiler
gives the same error with the @ in front or without. Placing the @
after the variable name doesn't work either. What is the above syntax
telling me?
Maybe if you showed us the exact line of code you are using and told
us the exact error message, we might be able to help.
nWidth = topform.swiftprint1.TextWidth(strText)
Yes, strText has been predefined.
The error message is:
(1429) "Ole IDispatch exception code 0 from FastCollection.Item(Get):
Invalid property array index.."
This is a com object error. I hoped life would be simple and allow
that there was some FoxPro syntax error I was making. Otherwise I
will probably need to go to the ocx provider. If I am lucky he will
know.
Gleason
.
- References:
- method parameter
- From: Gleason Pace
- Re: method parameter
- From: Jack Jackson
- method parameter
- Prev by Date: Report hangs in FPW 2.6
- Next by Date: Re: null inconsistencies
- Previous by thread: Re: method parameter
- Next by thread: Re: method parameter
- Index(es):
Relevant Pages
|