[THIN] Re: Publishing IE

  • From: "Andrew Wood" <andrew.wood@xxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Mon, 7 Nov 2005 14:49:03 -0000

we do this for a remote working solution - 
 
Script launches an IE object that displays a progress indicator during the
connection phase, and passes feedback to the user. If the user closes the
window the script just starts again
 
Nice and pretty 
  _____  

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
Of Matthew Shrewsbury
Sent: 07 November 2005 13:53
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Publishing IE



I think you would do it by publishing this VB script.

 

'####################### Script ###############################

   Dim oIE

   Set oIE = CreateObject("InternetExplorer.Application")

 

'Nice and easy. Now you can tell IE to navigate to a page, such as 

'the special blank page:

 

   oIE.Navigate "http://google.com";         'put URL to your internal
website

 

'Although of course you could use any URL you like. You can also 

'control the appearance and position of the IE window:

 

   oIE.ToolBar = 0 'Turn off the toolbar

   oIE.StatusBar = 0 'Turn off the status bar

   oIE.MenuBar = 0 'Turn off the menu

   oIE.Width = 400

   oIE.Height = 200

   oIE.Left = 10

   oIE.Top = 10

 

'With all of that work, you might want to give IE a second to 

'compose itself:

 

   Do While oIE.Busy

      WScript.Sleep 200

   Loop

 

'Finally, make IE show its face:

 

   oIE.Visible = 1

 

'Of course, you'll also want to stick some HTML into IE. Perhaps 

'you want to display a status message in red:

 

   'oIE.Document.Body.InnerHTML = "<font " & "color=red>WARNING!</font>"

  

'When you're done having IE show off, you can close it on command:

 

'   oIE.Quit

 

'This is a great way to show customized, HTML-formatted dialog 

'boxes and status messages as part of your scripts. Check out 

'the "Misc VBScript and WSH" section of the ScriptVault on 

'http://ScriptingAnswers.com for more IE scripting fun.

 

'###################End of Script ##########################

 

Matthew Shrewsbury, MCSE+Internet MCSE 2000 CCA Server+

Senior Network Administrator

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
Of Dirk Blose
Sent: Saturday, November 05, 2005 11:50 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Publishing IE

 

 

I have a need to publish IE for a specific application internally developed.
The thing is I do not want any of the Toolbars or such to be available to
the user but I do want it to be a Window. Kiosk Mode doesn't do it since it
comes up as a full screen that you cannot minimize or re-size. Anyone know
if there are any command-line switches to IE 6 to do this?

 

Thanks.

 

Dirk Blose, MCSE, CCA
Lead Technical Analyst
(919) 765-4791
dirk.blose@xxxxxxxxxx

Other related posts: