From: Charles Calvert Date: 2010-10-22T01:05:22+09:00 Subject: Re: How to open file dialog in Ruby, and get open FileName? :-( On Tue, 19 Oct 2010 09:40:41 -0500, Amit Tomar wrote in <7efc8bf3561dcf8c2bf70a0a228d67fe@ruby-forum.com>: >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?? As I just responded to you in another thread, this question makes no sense. The Win32 API is the API for the 32 bit version of Windows, which is an OS. It is inherently client-side. -- Charles Calvert Moderator - alt.computer.consultants.moderated Submission Address: accm@celticwolf.net Contact Address: accm_mod@celticwolf.net