Ruby and COM(ActiveX)

  • Thread starter D'Andrew Thompson
  • Start date
W

Wes Moxam

------=_Part_2024_33472115.1125596778727
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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

ex:

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


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

-- Wes

=20
Does anyone know if there is a COM component for Ruby offering an
interface to COM (ActiveX) controls?
=20
Something in the vein of http://www.python.org/windows/win32com/
=20
Thanks, dave
--
~~~~~~~~~~~~~~~~~~~
D'Andrew Thompson
http://dathompson.blogspot.com
=20

------=_Part_2024_33472115.1125596778727--
 

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

Similar Threads


Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top