[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

win32ole method missing

Jamie Forrest

1/30/2009 4:16:00 AM

There seems to be a method missing in the TimeScaleValue object of
WIN32OLE. See:

irb(main):126:0> tsval.Value
WIN32OLERuntimeError: unknown property or method `Value'
HRESULT error code:0x80020006
Unknown name.
from (irb):124:in `method_missing'
from (irb):124
from ^C:0

and yet

irb(main):127:0> tsval.ole_get_methods
=> [StartDate, EndDate, Value, Index, Application, Parent]

Anyone have an idea what's going on here? Is WIN32OLE just not fully
implemented?

1 Answer

Jamie Forrest

1/30/2009 4:45:00 AM

0

On Jan 29, 11:15 pm, Jamie Forrest <honksandsir...@gmail.com> wrote:
> There seems to be a method missing in the TimeScaleValue object of
> WIN32OLE. See:
>
> irb(main):126:0> tsval.Value
> WIN32OLERuntimeError: unknown property or method `Value'
>     HRESULT error code:0x80020006
>       Unknown name.
>         from (irb):124:in `method_missing'
>         from (irb):124
>         from ^C:0
>
> and yet
>
> irb(main):127:0> tsval.ole_get_methods
> => [StartDate, EndDate, Value, Index, Application, Parent]
>
> Anyone have an idea what's going on here? Is WIN32OLE just not fully
> implemented?

I should mention the TimeScaleValue object is part of Microsoft
Project.