I
Ian
I have an application in which I use a call to open Internet Explorer using
the following command on a button:
Dim objShell As Object
Dim strIeFilePath As String
Set objShell = CreateObject("WScript.Shell")
strIeFilePath =
objShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE\")
Shell strIeFilePath & " C:\Program Files\MyPathFile.htm", vbNormalFocus
I would really like to restrict the size of the window that IE open into so
I can be consistent with the formatting in my page across different screen
sizes of my users but it appears the only options are "vbNormal" or
"vbMaximize".
Does anyone know a way of specifying the size of the window that opens.
Many thanks,
Ian.
the following command on a button:
Dim objShell As Object
Dim strIeFilePath As String
Set objShell = CreateObject("WScript.Shell")
strIeFilePath =
objShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE\")
Shell strIeFilePath & " C:\Program Files\MyPathFile.htm", vbNormalFocus
I would really like to restrict the size of the window that IE open into so
I can be consistent with the formatting in my page across different screen
sizes of my users but it appears the only options are "vbNormal" or
"vbMaximize".
Does anyone know a way of specifying the size of the window that opens.
Many thanks,
Ian.