From: gregarican Date: 2005-07-01T01:35:42+09:00 Subject: Re: win32ole object creation failure Axel wrote: > When I run this (on Windows XP with the Windows Ruby installation > package 1.8.2-15), I get the following error: > > > C:/temp/bla.rb:3:in `initialize': Failed to create WIN32OLE object from > `MSComDlg.CommonDialog' (WIN32OLERuntimeError) > HRESULT error code:0x80040112 > Class is not licensed for use from C:/temp/bla.rb:3:in `new' > from C:/temp/bla.rb:3 I get the same result running this on a Windows 2000 box under Ruby 1.8.2. Googling around for this Windows API entry it appears as if it should be referenced directly using VB and isn't readily available through scripting means. At least this URL makes it seem as such --> http://www.autoitscript.com/forum/index.php?s=58aec18875ef9a11f9d1b2af990a92c2&showtopic=11379&pid=80340&st=0&#entry80340.