dont know those errors ..., you can troubleshoot ...
make sure that "open(url1)" it is not givin you an error .. If that
line is giving you an error, it means the web site doesn't exist or
you are including the open-uri code ( include 'open-uri.rb (i believe
is the line) :)

regards,

Jean

On 9/28/06, Madu Nar <bharadwaj.n / gmail.com> wrote:
> Jean Verger wrote:
> > mmm something like this?
> >
> > url1 = Whatever...
> > MT = 'Search '+'<b>'+d_term.chomp+'</b>'
> > if (open(url1).find { |line| line.match(MT) } != nil)
> >     foo = File.open("c://abc.txt", "a+")
> >     foo.puts ("Found: " + line)
> >     foo.close()
> > end
>
>
>
> Hello Jean,
>
> On execution the program gives me the following errors...
>
> frame error in wait document
> OLE error code:8007005 in <unknown>
> Access is denied
>
> HRESULT error code:0x8002009
> Exception Occured
>
> Me not sure how to get rid of this. It works till opening the requested
> page but finding and writing part does not seem to work...
> any more suggestions?
>
> Thanks again,
> Madu
>
> --
> Posted via http://www.ruby-forum.com/.
>
>