progid

WIN32OLE_TYPE#progid #=> ProgID
Instance Public methods

Returns ProgID if it exists. If not found, then returns nil.

tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Application')
puts tobj.progid  # =>   Excel.Application.9
doc_ruby_on_rails
2015-06-13 03:07:31
Comments
Leave a Comment

Please login to continue.