[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Ruby Excels not

Casimir

2/6/2008 12:05:00 PM

Ok so I wanna play with some spreadsheets. Lets see. Lets copypaste from
the pickaxe.

> require 'win32ole'
>
>
> # Creates OLE object to Excel
> excel = WIN32OLE.new("excel.application")
>
> #and so on...

Ruby replies:
myExcelApp.rb:9:in `initialize': unknown OLE server: `Excel.Application'
(WIN32OLERuntimeError)
HRESULT error code:0x800401f3
Invalid class string from myExcelApp.rb:9:in `new'
from rudumapponator.rb:9

Ie. no joy. Something wrong with the Win32Ole library?