From: markgriffin@... (mark G) Date: 2002-08-13T03:08:19+09:00 Subject: Re: ruby sample code runtime problem Tom Gilbert wrote in message news:<20020809212536.GR5924@offended.co.uk>... > * mark G (markgriffin@tidefans.com) wrote: > > Tom Gilbert wrote in message news:<20020808181014.GQ5924@offended.co.uk>... > > > > The example is from: > > > > > > > > http://www.ruby.ch/ProgrammingRuby/htmlC/win32.html > > > > > > > > Any suggestions on how to correct this ? > > > > > > Did you: > > > require 'win32ole' > > > first? > > > > > > Tom. > > > >From same link I had ran different example that did have require > > statement and I got same result/error as I did from running this > > example. > > > > My guess is since although Im a newbie to Ruby is that It cant find > > win32ole stuff. > > That's fair enough - it's quite possible that the ruby package you > installed did not include the win32ole module and that you either need > to install it seperately or you need to find a package that does > incorporate it. Try the RAA, http://www.ruby-lang.org/en/raa.html, or > more specifically: > http://www.ruby-lang.org/en/raa-list.rhtml?name=Win32OLE > > Tom. Tom, Thanks for assistance in this matter. This was exactly the problem that win320ole module was not installed. Once I installed it examples ran like a charm. Thanks