navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Help with VBS Script

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Community >> Computer Software and Hardware issues >> Help with VBS Script
Page: [1]
 
sentinel

 

Posts: 568
Joined: 5/4/2005
From: Chicago, Illinois
Status: offline

 
Help with VBS Script - 3/22/2007 10:44:17   
Hey all....

I have bunch of VBS scripts running on my windows server that perform scheduled maintenance and such on my site.

Unfortunately the only way I know how to do this is by having the systems run web pages automatically for me on localhost. This system does the job well for me with the exception of 50-60 open IE windows.

I tried adding some code to my vbscript that closes the window automatically but it prompts for a YES or NO to close window. I need this not to prompt and just close.

Here is a sample VB script:

Dim WshSHell

set WshSHell = createobject ("wscript.shell")
WshSHell.Run("iexplore.exe http://localhost/file.asp")

WshSHell.Sendkeys "% (F) (c)"



After this script runs it asks me if i want to close the window. I just need it to close so I don't need to log in for maintenance.

Thanks


_____________________________

No matter where you go, there you are.
Reflect

 

Posts: 4769
From: USA
Status: offline

 
RE: Help with VBS Script - 3/22/2007 10:50:34   
I know nothing about VB scripting. However i think this link might help...

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1655&lngWId=1

Take care,

Brian

_____________________________


(in reply to sentinel)
Page:   [1]

All Forums >> Community >> Computer Software and Hardware issues >> Help with VBS Script
Page: [1]
Jump to: 1





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