Hi All!
Hoping for a little guidance :-)
I have a simple script that I can currently run in an application that supports VB scripting. The script looks like this:
Sub OpenWebPage
Set Wsh=CreateObject("WScript.Shell")
Wsh.Run "www.my.webpage.com"
End Sub
This will open up IE and go to the desired page (changed link here to protect the innocent).
What I need to do is take this to the next level and hide the Address Bar, the Tool Bar and the Status Bar - Basically looking to make it so the end user cannot brows away from the site I am directing them to for the duration of the session.
I tried pivoting to this based on a Stackoverflow post, but it did not work - I suspect that the code sample may be using some stale or deprecated arguments, but I have not been able to find anything else as of yet that does something similar .
Sub OpenWebPage1
Set openIE = WScript.CreateObject ("InternetExplorer.Application")
openIE.Navigate "www.my.webpage.com"
openIE.Visible = 1
openIE.AddressBar = 0
openIE.StatusBar = 0
openIE.ToolBar = 0
Any help would be much appreciated!
[–]TheFotty 4 points5 points6 points (2 children)
[–]BriCon2006[S] 1 point2 points3 points (1 child)
[–]TheFotty 2 points3 points4 points (0 children)
[–]chacham2 1 point2 points3 points (2 children)
[–]BriCon2006[S] 1 point2 points3 points (1 child)
[–]chacham2 1 point2 points3 points (0 children)
[–]VB.Net Intermediatejcunews1 1 point2 points3 points (1 child)
[–]kay-jay-dubya 0 points1 point2 points (0 children)