Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


help....

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,58283
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> help....
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 help.... - 3/20/2008 4:26:58 AM   
  loyglenn

 

Posts: 19
Score: 0
Joined: 3/20/2008
Status: offline
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


Private Function logon()
spc = " "
cmd = "net use"
drv = "V:"
path = "\\192.168.1.102\vpn"



cmdline = cmd & spc & drv & spc  & path & spc & usr & spc & pwd


shell.Run cmdline

menu.Navigate "c:\vpnaxs\vpn.htm"


End Function
 
 
Post #: 1
 
 RE: help.... - 3/24/2008 3:29:27 AM   
  loyglenn

 

Posts: 19
Score: 0
Joined: 3/20/2008
Status: offline
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? 

(in reply to loyglenn)
 
 
Post #: 2
 
 RE: help.... - 3/24/2008 3:32:44 AM   
  ebgreen


Posts: 4972
Score: 31
Joined: 7/12/2005
Status: offline
I'm glad that you found a solution. About:Blank can be written to in general. I'm not sure about the issue that you were seeing.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to loyglenn)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> help.... Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts