logo       

Re: ruby sample code runtime problem: msg#00791

lang.ruby.general

Subject: Re: ruby sample code runtime problem

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>
Google Custom Search

News | FAQ | advertise