Does anyone know how to use Win32OLE to connect to an opened pdf
document ?

I tried this acrobat

    require "win32ole"
    WIN32OLE.new('AcroExch.App')


but I got this error :

pdfEbook.rb:12:in `initialize': unknown OLE server: `AcroExch.App'
(WIN32OLERuntimeError)
    HRESULT error code:0x800401f3
      Invalid class string  from

Any help is appreciated..

Thanks

-- 
Posted via http://www.ruby-forum.com/.