Unable to open Internet Explorer instance


#1

Hello all,

I am trying to open an instance of Internet Explorer using the following
code:

require ‘win32ole’
@ie = WIN32OLE.new(‘InternetExplorer.Application’)

When I run this code, its runs successfully without any errors, but I do
not see any internet explorer window opened. When I check my task
manager, it does show iexplore.exe process running.

Can anyone suggest where am I going wrong?

Thanks,
Vani K.


#2

Hello!

Try: @ie.Visible

Ciao ciao

-----Ursprüngliche Nachricht-----
Von: removed_email_address@domain.invalid [mailto:removed_email_address@domain.invalid] Im Auftrag
von
Vani K.
Gesendet: Donnerstag, 05. Juli 2007 13:11
An: ruby-talk ML
Betreff: Unable to open Internet Explorer instance

Hello all,

I am trying to open an instance of Internet Explorer using the following
code:

require ‘win32ole’
@ie = WIN32OLE.new(‘InternetExplorer.Application’)

When I run this code, its runs successfully without any errors, but I do
not see any internet explorer window opened. When I check my task
manager, it does show iexplore.exe process running.

Can anyone suggest where am I going wrong?

Thanks,
Vani K.