Re: [Ironruby-core] FileDialog in a IronRuby App.

2010-07-27 Thread Eduardo Blumenfeld
Thank you Thank you By the way, I enjoy your book big time, I use it as a great reference... Eduardo Shay Friedman wrote: > require 'System.Windows.Forms' > include System::Windows::Forms > > diag = OpenFileDialog.new > res = diag.show_dialog > if res == DialogResult.OK then > diag.file_names

Re: [Ironruby-core] FileDialog in a IronRuby App.

2010-07-27 Thread Shay Friedman
require 'System.Windows.Forms' include System::Windows::Forms diag = OpenFileDialog.new res = diag.show_dialog if res == DialogResult.OK then diag.file_names.each { |f| puts "You selected #{f}" } end Shay. Shay Friedman | Microsoft Visual

[Ironruby-core] FileDialog in a IronRuby App.

2010-07-27 Thread Eduardo Blumenfeld
Hi all, How can I call the filedialog window from an IronRuby program, getting the list of files selected in the dialog in a String or Array variable? Thank you in advance... Eduardo Blumenfeld -- Posted via http://www.ruby-forum.com/. ___ Ironruby-co