|
Re: ruby sample code runtime problem: msg#00791lang.ruby.general
Tom Gilbert <tom@xxxxxxxxxxxxxxx> wrote in message news:<20020808181014.GQ5924@xxxxxxxxxxxxxx>... > * mark G (markgriffin@xxxxxxxxxxxx) 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. >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.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Ruby in EETimes, Lyle Johnson |
|---|---|
| Next by Date: | Getting the file name from a File::Stat object?, Lloyd Zusman |
| Previous by Thread: | Re: ruby sample code runtime problem, Tom Gilbert |
| Next by Thread: | Re: ruby sample code runtime problem, Tom Gilbert |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |