From: Chris Morris Date: 2002-12-02T13:11:04+09:00 Subject: Re: WIN32OLE > Is there any way to know the oleserver a WIN32OLE object is using? For > example: > > conn = WIN32OLE.new("ADODB.Connection") > p conn.class > > which will ouput WIN32OLE, but not ADODB.Connection. How can I tell in > program what oleserver an ole object is using? If you know a COM call which will return this info (maybe class does), but there's a Ruby call by the same name getting in the way, you can do: conn.invoke("class") which forces the call through to the COM object, bypassing any coincidentally named native Ruby methods. Chris