Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE pop up window

Status
Not open for further replies.

finitesimian

Programmer
Feb 11, 2006
29
US
I was wondering- is there a way to create a 'javascript styled' Internet Explorer pop up window using an attachmate macro?
What I mean by 'javascript styled' is to pull up the IE browser with no scrollbars, menubar, statusbar, locationbar, specify height/width, etc, etc.

I know you can open internet explorer and navigate to a specific page using
Code:
rc% = shell("C:\Program Files\Internet Explorer\iexplore.exe [URL unfurl="true"]http://www.whateverpageiwanttogoto.com")[/URL]

Is there something I can include in the line to do what I'm talking about? Is it even possible?
 
Dim oIE as object
Code:
Set oIE = CreateObject("InternetExplorer.Application.1")
If oIE is Nothing then
  MsgBox "Could not create IE object"
  Stop
End If
URL = "[URL unfurl="true"]http://www.google.com/"[/URL]
oIE.Navigate URL
oIE.Width=300
oIE.Height=300
oIE.Visible = true
oIE.Resizable = false
oIE.Menubar = false 
oIE.AddressBar = false
oIE.ToolBar = false

You can look further into the internet explorer object here
 
The Dim oIE as object at the top is part of the code. Dunno how I missed code blocking that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top