anytype var returned

Maurice

New Member
:confused:

I got this out of the com-object-viewer:

[ <anytype>-Var = ] <com-handle>:pvWaarde (Integer-lIndex ).

Can Progress (V8) handle a anytype-var? How?

ASSIGN cHelpVar = <com-handle>:pvWaarde (1)
MESSAGE cHelpVar results in "?"

What am I doing wrong?
 
anytype

The <> signs (html-tags) dissappeared:

it has to be:

[ "anytype"-Var = ] "com-handle":pvWaarde (Integer-lIndex ).

and

cHelpVar = "com-handle":pvWaarde(1)

No matter what I try: MESSAGE cHelpVar gives me "?"

Help !!
 
maybe its a zero based index. i.e. the first element is element 0 rather than 1.

did you try

cHelpVar = "com-handle":pvWaarde(0)

???
 
Yes, I tried it: nothing. I tried the same in VB and it works fine there.

Do I need to switch to VB next software development project ??
 
Back
Top