Ruby and COM(ActiveX)

Does anyone know if there is a COM component for Ruby offering an
interface to COM (ActiveX) controls?

Something in the vein of http://www.python.org/windows/win32com/

Thanks, dave

···

--
~~~~~~~~~~~~~~~~~~~
D'Andrew Thompson
http://dathompson.blogspot.com

If you install ruby using the windows installer it should already be
installed.

ex:

require 'win32ole'
excel = WIN32OLE.new('Excel.Application')
excel.visible = TRUE
workbook = excel.Workbooks.Add();
worksheet = workbook.Worksheets(1);
worksheet.Range('A1:D1').value = ['North','South','East','West'];

Documentation is here: http://www.ruby-doc.org/stdlib/libdoc/win32ole/rdoc/

-- Wes

···

On 9/1/05, D'Andrew Thompson <dandrew.thompson@gmail.com> wrote:

Does anyone know if there is a COM component for Ruby offering an
interface to COM (ActiveX) controls?

Something in the vein of Python Releases for Windows | Python.org

Thanks, dave
--
~~~~~~~~~~~~~~~~~~~
D'Andrew Thompson
http://dathompson.blogspot.com

D'Andrew Thompson wrote:

Does anyone know if there is a COM component for Ruby offering an
interface to COM (ActiveX) controls?

Something in the vein of Python Releases for Windows | Python.org

Thanks, dave

Its called Win32OLE and it is part of the standard windows distribution (One Click Installer). See http://www.rubycentral.com/book/lib_windows.html for some documentation on it.

Steve Tuckner