Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 10-06-2009
Member
 
Join Date: Jan 2009
Posts: 140
Can not execute .vbs files

I have ASP web page that runs .vbs file to display the menu option at the bottom. When i open that page in internet explorer it says : A Run Time Error has occured. Any help will be extremely appreciated.
Reply With Quote
  #2  
Old 10-06-2009
Member
 
Join Date: May 2008
Posts: 2,008
Re: Can not execute .vbs files

Click the Tools button , and then click Internet Options. Or, press ALT+T, and then press O.
In the Internet Options dialog box, click the Advanced tab.
Click to select the Disable script debugging (Internet Explorer) and Disable script debugging (Other) check boxes, and then click to clear the Display a notification about every script error check box.
Click OK to close the Internet Options dialog box.
Reply With Quote
  #3  
Old 10-06-2009
Member
 
Join Date: Jan 2009
Posts: 199
Re: Can not execute .vbs files

Click Start then go to Run. Type CMD, click OK.

In the window that opens, type:AT 11:00 "cscript myvbscrip.vbs"

That would execute the script at 11am.

For more help on using the At command, type "at /?"
Reply With Quote
  #4  
Old 10-06-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: Can not execute .vbs files

Have you tried creating a Desktop Shortcut in windows (assuming you are using Windows)?The command to use is to run vbs file : %SystemRoot%\System32\WScript.exe //E:vbscript "c:\My Scripts\yyy.txt". This is the way to launch external .VBS script stored in a .TXT file : Y="C:\My Scripts\yyy.txt". Launch "%SystemRoot%\System32\WScript.exe","//E:vbscript """ & y & """".

Check this thread with similar issue :
Task scheduler won't execute vbs
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Can not execute .vbs files"
Thread Thread Starter Forum Replies Last Post
cant execute file C:\Program Files\CamStudio 2.6b\Recorder.exe BobTurner Windows Software 4 12-06-2012 05:10 PM
Taprats 0.8 not able to execute well Laramie Windows Software 6 28-03-2010 12:15 AM
.imv files not able to execute in Windows 7 Balamani Windows Software 5 23-01-2010 01:25 AM
How to execute Server.Execute function in ASP.NET (C#) RasMus Software Development 3 25-09-2009 12:30 PM
How To Execute Iso File? Lupin Windows Software 3 27-04-2008 08:41 AM


All times are GMT +5.5. The time now is 07:30 AM.