Win32OLE and PDF

  • Thread starter Youssef Yelatia
  • Start date
Y

Youssef Yelatia

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
 
J

Jan Svitok

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

Though I don't know the exact app name, try this:

1. there was a thread on starting acrobat through ole (the poster used
the same ID) maybe you can tyr his code - search for acrobat in the
archives

2. look for a thread named 'Ruby and COM' - somebody explains how to
find out what is the exact app name
 
Y

Youssef Yelatia

Jan said:
Though I don't know the exact app name, try this:

1. there was a thread on starting acrobat through ole (the poster used
the same ID) maybe you can tyr his code - search for acrobat in the
archives

2. look for a thread named 'Ruby and COM' - somebody explains how to
find out what is the exact app name

Thanks Jan,
I found the thread: http://www.ruby-forum.com/topic/88013#166809

I'm reading it now
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,744
Latest member
CortneyMcK

Latest Threads

Top