win32ole method missing

Discussion in 'Ruby' started by Jamie Forrest, Jan 30, 2009.

  1. 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?
     
    Jamie Forrest, Jan 30, 2009
    #1
    1. Advertising

  2. On Jan 29, 11:15 pm, Jamie Forrest <> 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.
     
    Jamie Forrest, Jan 30, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Masaki Suketa
    Replies:
    4
    Views:
    386
    Dave Burt
    Mar 27, 2006
  2. Chris Atwood

    win32ole: method call with &params

    Chris Atwood, Jun 16, 2006, in forum: Ruby
    Replies:
    1
    Views:
    203
    Dave Burt
    Jun 16, 2006
  3. djlewis
    Replies:
    0
    Views:
    114
    djlewis
    Dec 19, 2006
  4. zxem
    Replies:
    1
    Views:
    239
  5. David Lewis
    Replies:
    0
    Views:
    224
    David Lewis
    May 1, 2011
Loading...

Share This Page