can someone tell me why the src pages for the frames won't display... The html file are in the correct locations, the frames are being built and displayed, but void of the src content. Thanks.
Dim shell Set shell = Wscript.CreateObject("Wscript.Shell") Dim menu Set menu = Wscript.CreateObject("InternetExplorer.Application") With menu .Navigate "about:blank" .Document.Write "<HTML><HEAD><TITLE>BFF</TITLE></HEAD>" .Document.Write "<Frameset rows=""40,*"" onunload=""Window_Onclose()"">" .Document.Write "<Frame name=top src=""vpn.htm"" scrolling=""no"">" .Document.Write "<Frame name=bottom src=""c:\"" scrolling=""yes"">" .Document.Write "</Frameset>" .Document.Write "<BODY>frames not supported</BODY>" .Document.Write "</HTML>" .TheaterMode =True .Visible = True ''.Navigate "c:\vpnaxs\vpn.htm" End With
Ok, I found a workaround....I .Navigate to a completely blank html file not the "about:blank" page. Maybe the "about:blank" is an internal function of Internet Explorer that cannot be written to?