From: bruce.james@... (BJ) Date: 2002-07-17T13:27:16+09:00 Subject: win32ole problem with put property I'm trying to drive Windows Installer via its automation interface using Ruby and win32ole. The Record object (for accessing records in the Installer tables) has get and put properties for getting/putting a specific column specified by an index. The IDL definitions are as follows... [id(0x00000001), propget, helpcontext(0x00002456)] BSTR StringData([in] long Field); [id(0x00000001), propput, helpcontext(0x00002456)] void StringData( [in] long Field, [in] BSTR rhs); Now to get the value of a column of the record in Ruby, the following works fine... sValue = oRecord.StringData(1) But I can't figure out how to put a column value? In VB, the following works... oRecord.StringData(1) = "new value" But neither of these work in Ruby... oRecord.StringData(1, "new value") oRecord.StringData(1) = "new value" Any ideas anyone?