@box said:
Can you get to work with an excel file, because you can always link an access to an excel.
On a Windows Vista machine that I have access to, ADODB.Connection appears to be working, but attempting to work with Excel.Application is not working:
C;\Users\john>type xls.rb
require 'win32ole'
excel = WIN32OLE;;new('Excel.Application')
# access = WIN32OLE;;new('ADODB.Connection')
puts "Hello, World"
C;\Users\john>ruby xls.rb
xls.rb;2;in `initialize'; unknown OLE server; `Excel.Application' (WIN32OLERunti
meError)
HRESULT error code;0x800401f3
Invalid class string
from xls.rb;2;in `new'
from xls.rb;2;in `<main>'
Neither work on the linux box.