Re: method parameter



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
.



Relevant Pages

  • OLE IDispatch exception code 4096 from Microsoft Office Outllok
    ... correctly but in another pc I obtain this error message: ... OLE IDispatch exception code 4096 from Microsoft Office Outllok... ... LOCAL loOutlook, loNameSpace, loFolder, loContact, loNewContact ... FOR EACH oContact IN loFolder.Items ...
    (microsoft.public.outlook.program_vba)
  • Re: dhcp - internet
    ... Next time I will include the exact error message. ... > [I'm assuming here that the router is acting as a DHCP ... > Your Sun machine needs to be set up to point at a suitable ...
    (comp.unix.solaris)
  • Re: Time different between client/network....cant logon
    ... but a tad irrelevant because I know how to fix the problem now. ... Here's the exact error message: ... > I am the administrator, and I can't figure this one out. ... > error message in, and the only way to log in is locally. ...
    (microsoft.public.windows.server.sbs)
  • Re: AUTHENTICATION TO APPLY SP3
    ... what is the exact error message that you're receiving? ... This posting is provided "AS IS" with no warranties, and confers no rights. ... > running setup again. ...
    (microsoft.public.sqlserver.security)
  • Re: Create Table Wizard doesnt work
    ... You should re-post in a ... When you repost, suggest you state the ... exact error message you are experiencing, and state the exact steps you ... are going through which results in that error message. ...
    (microsoft.public.project)