PDA

View Full Version : cannot createobject using "internetexplorer.application"



gopi09_m
05-27-2008, 10:40 PM
Hi,

When i am trying to createobject using "internetexplorer.application" its throwing the error Activex cannot create object.I have IE6.0 installed in my machine.How do i resolve this?

Regards,
Krrishna

lucas
05-28-2008, 05:43 AM
Option Explicit
Sub LaunchSite()
Dim Newsite As Object
Set Newsite = CreateObject("InternetExplorer.application")
Newsite.Visible = True
Newsite.Navigate "http://vbaexpress.com/forum"
End Sub

gopi09_m
05-28-2008, 10:05 PM
it works fine.But still at the statment below i am getting the errror as "ActiveX component cannot create the object"....

Set Newsite = CreateObject("InternetExplorer.application")

Charlize
05-29-2008, 12:54 AM
it works fine.But still at the statment below i am getting the errror as "ActiveX component cannot create the object"....

Set Newsite = CreateObject("InternetExplorer.application")You have that program installed ?

Charlize