るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.017秒)
トップページ > バージョン:2.4.0[x] > クエリ:progids[x] > クエリ:win32ole[x]

別のキーワード

  1. win32ole new
  2. win32ole name
  3. win32ole to_s
  4. win32ole ole_type
  5. win32ole visible?

ライブラリ

クラス

検索結果

WIN32OLE_TYPE.progids -> [String] (87394.0)

システムに登録されているすべてのコンポーネントクラスのPROGIDを取得します。

システムに登録されているすべてのコンポーネントクラスのPROGIDを取得します。

@return システムに登録されているすべてのコンポーネントクラスのPROGIDを
文字列配列で返します。

excel = nil
WIN32OLE_TYPE.progids.each do |pg|
if pg =~ /excel\.application/i # ExcelのPROGIDをバージョン無視で取り出す
excel = WIN32OLE.new(pg)
break
end
end
unless excel
$s...