From: Tom Gilbert Date: 2002-08-09T03:10:27+09:00 Subject: Re: ruby sample code runtime problem * mark G (markgriffin@tidefans.com) wrote: > Hello all, > > When I run this example: > > ie = WIN32OLE.new('InternetExplorer.Application') > ie.visible = true > ie.gohome > > > I get the following error: > > Error on line 2: uninitialized constant WIN32OLE > > > 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. -- .^. .-------------------------------------------------------. /V\ | Tom Gilbert, London, England | http://linuxbrit.co.uk | /( )\ | Open Source/UNIX consultant | tom@linuxbrit.co.uk | ^^-^^ `-------------------------------------------------------'