From: Amit Tomar Date: 2010-10-19T23:40:41+09:00 Subject: Re: How to open file dialog in Ruby, and get open FileName? :-( Charles Calvert wrote in post #955442: > On Fri, 24 Sep 2010 08:45:53 -0500, iMelody Ooo > wrote in : > >>I find an example from http://www.java2s.com , but pop error: >> >>main.rb:21:in `initialize': failed to create WIN32OLE object from >>`MSComDlg.CommonDialog' (WIN32OLERuntimeError) >> HRESULT error code:0x80040112 > > Most likely you don't have comdlg32.ocx installed on the box. I'd > just use the raw API via comdlg32.dll instead. Here's a thread that I > found on this topic: > Charles is it possible to open this MessageBox on client side?? -- Posted via http://www.ruby-forum.com/.