Top "Vbscript" questions

VBScript (Visual Basic Scripting Edition) is an interpreted scripting language developed by Microsoft that is modeled on Visual Basic.

Force a VBS to run using cscript instead of wscript

What is the stackoverflow approved (and hence correct) method to force a VBS to run using cscript instead of wscript …

vbscript arguments wsh
ActiveX component can't create object: 'MSXML2.DOMDocument'

I am trying to create an instance of the object Msxml2.DOMDocument.4.0, but I am getting the following error: ActiveX …

windows-7 vbscript 64-bit activex
Robocopy script that created folder in destination with date

I'm trying to write a script that copies a folder every week night. I would like it to create a …

batch-file vbscript robocopy
Can I throw an error in vbscript?

I'm used to programing in C#, which obviously has some pretty robust error handling. Now I'm working on a short …

vbscript error-handling
Reading the Internet Explorer Protected Mode registry

I'm learning the registry with vbscript on the side. I would like to know would I check the strValuname and …

windows internet-explorer vbscript registry protected-mode
VBScript Error '80040211' when sending emails

I have an error when sending emails: "error '80040211' " Here's an example of my code- Dim objMessage Set objMessage = …

email vbscript cdo.message
How to change cscript.exe to wscript.exe execution for all VBScript files?

After installing the new server, I am facing an issue. I have lot of .vbs files, all need to run …

vbscript wsh
vbscript to auto detect open window and close it OR Google Apps Script to control form submit button

In the past I've used the script below to detect if an active window with the title "Remote Desktop" is …

vbscript google-apps-script kiosk kiosk-mode
Vbscript - Compare and copy files from folder if newer than destination files

I'm trying to design this script that's supposed to be used as a part of a logon script for alot …

vbscript copy compare last-modified datemodified
How do I use WScript.Shell SendKeys to send Number Pad key strokes?

I am trying to use WScript.Shell SendKeys method to emulate sending a key press from the Number Pad. I …

vbscript automated-tests qtp wsh