Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Can Ruby play with COM ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Gishu Pillai  
View profile  
 More options Jun 8 2006, 5:13 am
Newsgroups: comp.lang.ruby
From: Gishu Pillai <gishu.pil...@gmail.com>
Date: Thu, 8 Jun 2006 18:13:23 +0900
Local: Thurs, Jun 8 2006 5:13 am
Subject: Can Ruby play with COM ?
Hi,
Can Ruby talk with any of the MS Tech? I didn't
bring the pickaxe book to office today.
I was planning to do an internal web app using
ruby on rails. However this app has to talk with
Starteam (a Borland product). I don't know if they
have a ruby API exposed (chances are slim!) but they
have a COM interface.
Can I call it via Ruby code?

Also if this is gonna make me tear my hair out, please
let me know that too...
Thanks,
Gishu

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Burt  
View profile  
 More options Jun 8 2006, 6:19 am
From: Dave Burt <d...@burt.id.au>
Date: Thu, 8 Jun 2006 19:19:28 +0900
Local: Thurs, Jun 8 2006 6:19 am
Subject: Re: Can Ruby play with COM ?

Gishu Pillai wrote:
> Hi,
> Can Ruby talk with any of the MS Tech? I didn't
> bring the pickaxe book to office today.
> I was planning to do an internal web app using
> ruby on rails. However this app has to talk with
> Starteam (a Borland product). I don't know if they
> have a ruby API exposed (chances are slim!) but they
> have a COM interface.
> Can I call it via Ruby code?

Yes. The library's called WIN32OLE.

There's some info on the RubyGarden wiki here:
http://wiki.rubygarden.org/Ruby/page/show/RubyAndCOM

In particular, if you're familiar with scripting Excel with VBA, you'll
probably find the ScriptingExcel page enlightening.

Here's an online version of the API doco (not that complete or useful):
http://www.ruby-doc.org/stdlib/libdoc/Win32API/rdoc/index.html

> Also if this is gonna make me tear my hair out, please
> let me know that too...

I haven't torn my hair out; it's pretty straightforward.

Cheers,
Dave


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gishu Pillai  
View profile  
 More options Jun 8 2006, 7:58 am
Newsgroups: comp.lang.ruby
From: Gishu Pillai <gishu.pil...@gmail.com>
Date: Thu, 8 Jun 2006 20:58:01 +0900
Local: Thurs, Jun 8 2006 7:58 am
Subject: Re: Can Ruby play with COM ?

Dave Burt wrote:

> Yes. The library's called WIN32OLE.

> There's some info on the RubyGarden wiki here:
> http://wiki.rubygarden.org/Ruby/page/show/RubyAndCOM

Thanks, I knew Ruby won't let me down :)
Once again thanks for all the links Dave.
-- Gishu

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google