Ruby and COM(ActiveX)

Discussion in 'Ruby' started by D'Andrew Thompson, Sep 1, 2005.

  1. D'Andrew Thompson, Sep 1, 2005
    #1
    1. Advertising

  2. D'Andrew Thompson

    Wes Moxam Guest

    ------=_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

    On 9/1/05, D'Andrew Thompson <> wrote:
    >=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--
     
    Wes Moxam, Sep 1, 2005
    #2
    1. Advertising

  3. D'Andrew Thompson

    stevetuckner Guest

    stevetuckner, Sep 1, 2005
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. pfurb

    SmartClient Com and ActiveX

    pfurb, Dec 3, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    560
    pfurb
    Dec 3, 2003
  2. MS News \(MS ILM\)
    Replies:
    0
    Views:
    374
    MS News \(MS ILM\)
    Aug 28, 2003
  3. Replies:
    0
    Views:
    883
  4. vml
    Replies:
    0
    Views:
    1,043
  5. anne001
    Replies:
    1
    Views:
    471
Loading...

Share This Page