From: Masaki Suketa Date: 2009-06-11T20:39:55+09:00 Subject: Re: WIN32OLE : how to get put-property types? Hello, Bruno Le hyaric wrote: > I need to get the type of the property I want to set? > > I try : > > prop = obj.ole_put_methods.first > prop.params > => [] > prop.size_params > => 1 (not coherent with previous result) > prop.return_type > => VOID > > is there a lack in win32ole reflexivity? If there is a get-property corresponding to the put-property, then obj.ole_get_methods.find {|m| m.progid == prop.progid }.return_type_detail But if there isn't corresponding get-property, there is no way to get the type of put-property. Regards, Masaki Suketa